Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug in LOOKUP() function - Anybody else come across it
Message
From
20/11/2000 11:30:52
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Bug in LOOKUP() function - Anybody else come across it
Miscellaneous
Thread ID:
00443671
Message ID:
00443671
Views:
48
I use the LOOKUP function quite a lot in the REFRESH event of my combo boxes.

The function works fine but occasionally I get an

Operator/Operand Type Mismatch

I am using the following in the refresh event of my combo box


this.displayvalue=LOOKUP(V_SPENDOFFS.SPENDOFF,V_ticket.divsubarea,V_SPENDOFFS.DIVSUBAREA)


If I tell the program to resume the line of code from where it crashed, the line excutes just fine, which indicates to me that some timing factor is involved.

I do have a timer running on the form (for fancy tooltips)

I have checked the data types for the underlying tables involved and they seem to be fine.

Has anyone else come across this problem???
Next
Reply
Map
View

Click here to load this message in the networking platform