Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to Export straight table - Qlikview Server

hi,

I need to save a straight table, in a QVD file.

I do a macro in the client version, but in the server version of the button associated with the macro does not work,

Can i do the same on the server version??

This is my macro:

sub estrai_new

     set v = ActiveDocument.Variables("b_User")

     set obj = ActiveDocument.GetSheetObject("CH30")

     obj.ExportEx "Bud_"&v.GetContent.string&".qvd",4

end sub

thanks for the replies!!!

1 Solution

Accepted Solutions
erichshiino
Partner - Master
Partner - Master

Hi, Alberto

In the server environment, you need to change your macros to use the the methods serverside or serversideExport.

For example:

set tb = ActiveDocument.GetSheetObject("CH01")

tb.ServerSideExport "C:\test.skv" , ";" , 0       'ANSI

You can find more details in the apiguide.qvw

Hope it helps,

Erich

View solution in original post

2 Replies
erichshiino
Partner - Master
Partner - Master

Hi, Alberto

In the server environment, you need to change your macros to use the the methods serverside or serversideExport.

For example:

set tb = ActiveDocument.GetSheetObject("CH01")

tb.ServerSideExport "C:\test.skv" , ";" , 0       'ANSI

You can find more details in the apiguide.qvw

Hope it helps,

Erich

Not applicable
Author

What if I want to use another qvw's straight table that is:

I have straight table in ''first.qvw" and i want to use another qvw to excute macro for exporting straight table