Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
View parameters
Message
From
25/11/1996 15:14:33
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00013037
Message ID:
00013443
Views:
35
>>>#DEFINE ALL_LOC "(All)"
>>>
>>>lcColor = IIF(THISFORM.cboColors.VALUE = ALL_LOC, "", ALLTRIM(THISFORM.cboColors.VALUE))
>>>
>>>REQUERY("your_view")
>>
>>
>>It works when I change the variables by hand to "", but when i send
>>the value "" in the program I get a data type mismatch. (My key
>>values are integers). I cant see why it works one way
>>and not the other...
>
>Christopher,
>
>I don't know why it's not working with integers I haven't tested this situation. In SQL the wildcard % would work with both char and int data, not sure how to deal with this in FP.
>
>Kim

As far as I know Wildcards can be used for Character expressions only.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform