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:04AM
    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