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

Please tell me how to use Edit Module in QlikView?

I want to know the use of edit module so please tell me how to use it?

2 Replies
fred_s
Partner - Creator III
Partner - Creator III

You can take a look at this thread: http://community.qlik.com/thread/48608

To be honest, it's better not to use Modules. You probably want to be able to upgrade to Qlikview Server and Modules don't work with Qlikview Server.

Grtz Fred

maxgro
MVP
MVP

short answer:

QlikView has an internal macro interpreter; you use edit module to manage (create, modify, etc...) module (Macros and custom defined functions) written in VBScript or JScript

more detail (just an extract, there is more) from QlikView Help

QlikView objects are accessible via automation from inside QlikView by means of the built-in scripting engine.

Macros written in VBScript or JScript, inside a QlikView document can be invoked in a number of different ways:

Document Events:

  • A macro can be run after opening a QlikView document.
  • A macro can be run after script re-execution.
  • A macro can be run after the Reduce Data command.
  • A macro can be run after a selection in any field in a document.
  • A macro can be run when the value of any variable changes in a document.

Macros that are invoked from document events are created from the Document Properties: Triggers page. 

Sheet Events:

  • A macro can be run after a sheet is activated.
  • A macro can be run when a sheet is deactivated.

Macros that are invoked from sheet events are created from the Sheet Properties: Triggers page. 

Sheet Object Events:

  • A macro can be run after a sheet object is activated.
  • A macro can be run when a sheet object is deactivated.

Macros that are invoked from sheet object events are created from the Sheet Properties: Triggers page. 

Button Events:

  • A button can be defined as a macro button.

A macro that is invoked from a macro button event is created from the button's Actions page.

Field Events:

  • A macro can be run when a selection has been made in a specified field, see Fields.
  • A macro can be run when a selection is made in any field which is logically associated to a specified field.
  • A macro can be run when selections are locked in a specific field.
  • A macro can be run when selections are unlocked in a specific field.

Macros that are invoked from field events are created from the Document Properties: Triggers page. 

Variable Events:

  • A macro can be run when a new value is directly entered into a specified Variable.
  • A macro can be run when the value of the specified variable changes as a result of changes in other variables or the logical state of the document.

Macros that are invoked from variable events are created from the Document Properties: Triggers page.

Macro Editor:

Irrespective of how they are triggered, macros are created and edited in the Edit Module dialog.