Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 
					
				
		
Hi Folks
I would like to launch a new qlikview document from within another document, but I want to retain all of the field selections between the two documents.
Anybody have any ideas on how I would do that?
Cheers,
Nigel.
 
					
				
		
It could be possible using a Macro, but I never saw an example of this. QlikView 9 will certainly offer this functionality without using macro's.
 
					
				
		
It is possible to remember selection by creating a bookmark by macro. Another macro will recalls this bookmark and delete it.
A nuance - in a simialr situation I had to check on open if this bookmark exists and remove it, because sometimes it stayed there because of an unrelated QV crash...
Regards,
Michael
 
					
				
		
Hello Nigel,
I have done this by passing values through a 'qvp' pseudo-URL for named fields. It uses a hidden button that has its parameters changed based on the current selection for the named field.
If you are interested I have demo qvws which show the process (an 'initiator' and an 'invoked')
Regards,
Gordon
 
					
				
		
Hi Michael
Interesting solution!
I thought bookmarks were stored against a document, that being the case, how do I load the bookmark in the new document?
Do you happen to know what happens if the new document is not the same layout, doesn't contain the same sheets, but does contain the same data and quite a few of the same variables.
Regards,
Nigel.
 
					
				
		
Hi Gordon
I'm definately interested in this solution, it would appear to give me exactly what I want...............
Post it, post it, post it, please!!!
Cheers,
Nigel. 
 
					
				
		
Nigel,
I misunderstood the requirement, thought it's in the same document. If go with the bookmarks, I'd try include expot/import on the macro. Never done this though.
Reagrds,
Michael
 
					
				
		
Hello Nigel,
You need to edit the subroutine 'PrepMachCust' to define the location of the invoked document 'invoked.qvw'
Regards,
Gordon
 
					
				
		
..and here is the invoked.qvw
 
					
				
		
 yblake
		
			yblake
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		This functionnality will be available natively in QV 9.
