Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements
QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.
Not applicable

Using Macro's in table expressions (definition)

Hi,

I have written a Macro in the editor module:

function one(param1)

one = param1 + param1

end function

Now I am calling the function 'one(3)' in a table column as expression. However the result that is being returned is ' - '.

Why does is not just return 6? Do I have to do something else?

I folllowed some tutorials on macro's but they only use it for 'onAction' events.

Regards.

1 Solution

Accepted Solutions
forte
New Contributor III

Re: Using Macro's in table expressions (definition)

Hi ,

You can only use defined macro's on your Load Script, not even on expressions. As you have told you can also call them on triggers.

Best Regards

2 Replies
forte
New Contributor III

Re: Using Macro's in table expressions (definition)

Hi ,

You can only use defined macro's on your Load Script, not even on expressions. As you have told you can also call them on triggers.

Best Regards

Not applicable

Re: Using Macro's in table expressions (definition)

Hi,

That is pity. It would be nice to have vbScript/Jscript working also in expressions.

Tnx for the answer.

Best Regards

Community Browser