Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Script tabs - How to quickly export them

Hi,

As mentioned in the forums and the excellent book QlikView 11 for Developers, the use of tabs in script are primordial to structure the code and make it readable.

I would like to know whether there is an easy way to export these, in a similar manner as i.e. we do for tables that have been loaded.

I've tried exporting the script and loading the file as input; and am getting some weird results.

Many thanks,

Antoine

2 Replies
Not applicable
Author

Hi

yes  open the "edit script" menu,

then on "file" menu click on "open external script file"  and save it where you want

it is a qvs file   read as a txt file

to get it back in a script  use $(include=pathname/filename.qvs)

best regards

chris

Anonymous
Not applicable
Author

Christian, thanks for input.

I'll clarify by giving a simple example.

Suppose that my script is divided into 4 tabs:

Main, LoadDimension1, LoadDimension2, LoadFact

What I do not want

is to reinject the script using an include statement.

What I am looking for

When I export the script, the tabs are identified as ////$tab

I want to have a list of these tabs in a small table called T1.

In other terms, I expect a table that has the following structure on input:

LOAD * INLINE [

Tab,

Main,

LoadDimension1,

LoadDimension2,

LoadFact,

]

;