Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Filtering record
Message
From
01/12/1997 11:44:54
 
 
To
30/11/1997 23:22:56
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00062992
Message ID:
00063048
Views:
42
>Hi,
>I have created a form allowing the user to enter the year. I would like to set a filter based on the year keyed by the user using the following code :
>
>"set filter to year(sales.date) = thisform.nyear.value"
>
>"nyear" is the value key in by users using textbox
>
>However, when I ran the form, "Operator/Operand type mismatch" error appear. I did a debug and find out that the value keyed by the user is Character. Is there anyway where I can change it to Numeric instead?
>
>Many thanks

set the initial value of the textbox to {}. This preformats it to date.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform