Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Numeric or string ??
Message
From
09/02/2005 10:49:39
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7
OS:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
00985094
Message ID:
00985181
Views:
50
Very good question. Something I should have done from the beginning (sorry, my mistake).
The textbox is part of a class that is used to do simple querying on a table. The value of the textbox is used in a the where clause of the query, so determening on the type of data in the textbox my where clause changes

if input is date: where dDate=textbox.value
if input is numeric: where nExpression=textbox.value
if input is character: ... where cExpression=textbox.value
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform