Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 emteam162
		
			emteam162
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi ,
I use this macro
Sub SaveDoc
     ActiveDocument.Save
End Sub
in my Desktop is working but when i put my application on server qlikview doesn't work
i use Ajax
I want to save the document automatically
Many thanks for your help
Best Regards,
Emteam
 Gysbert_Wassena
		
			Gysbert_Wassena1. Most maco's don't work in the ajax client
2. A document opened on the server is always read-only. So what you want is not possible. You need to open the .qvw file directly with Qliview Desktop to be able to change it and save the changes.
 
					
				
		
 er_mohit
		
			er_mohit
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Make sure You have done ctrl+shift+m and tick on radio button of Give system access to module script
hope it helps
 emteam162
		
			emteam162
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		I want update the variable in my application
i have more then 20 variables and i want when i change the value of variable i want the variable take the last value.
Many thanks
Emteam
 emteam162
		
			emteam162
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		 emteam162
		
			emteam162
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi,
Any idea please
Many thanks
Emteam
 
					
				
		
I agree with Gysbert what said.
I don't think you can save a qvw open on server.
Maybe with a macro you can save your variable values in a excel (or maybe) txt file, and get them back each time you reload.
 emteam162
		
			emteam162
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi,
Ok
but i want know when
this macro
Sub SaveDoc
ActiveDocument.Save
End Sub
Work
Many thanks
Emteam
 
					
				
		
when you run your file in desktop application
 emteam162
		
			emteam162
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi all,
Thanks for your answer
Many thanks,
Emteam
