Variables, using in a report

Hi all,

Needing a bit of help here.

I have a variable in my report named theClient.

How can I test to see if this variable has anything assigned to it?

I have tired ShowMessage(Report.Variables) but i get an error of 'Invalid Variant Type Operation'.

Any ideas?

Comments

  • peleus wrote: »
    Hi Sandy, looks like a tough one with no answers yet. Any luck so far?

    Yeah, figured it out.

    Seems that if a variable has no been set, its value is set to NULL.

    You have to check if its value is NULL before doing any sort of work with it, or you get these errors.

    Sandy
  • edited 5:10AM
    hi sandy,
    I like worke simply put your variabl in a memo. after this You can make or look for your conditions.
    Two will not learn(teach); the shy person and the arrogant person

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.