Hi
Trying to track down an elusive bug I found the following suspect statement in my program:
where .L_Serv_Lock is a variant which can be "0" or "1"
I have now changed this to:
My question is could my original form be the cause of my problem. i.e. will testing a variant in this way always give true for "1" and false for "0"?
Thanks in advance
Andy
Trying to track down an elusive bug I found the following suspect statement in my program:
Code:
If .L_Serv_Lock Then lockcount = lockcount + 1
where .L_Serv_Lock is a variant which can be "0" or "1"
I have now changed this to:
Code:
If .L_Serv_Lock = "1" Then lockcount = lockcount + 1
My question is could my original form be the cause of my problem. i.e. will testing a variant in this way always give true for "1" and false for "0"?
Thanks in advance
Andy