Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can be use 0x7FFFFFFF value for max value of chr fields
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00980288
Message ID:
00980347
Views:
41
lcMaxCustID=iif(empty(.text2.value, REPLICATE(CHR(255), LEN(customers.custid)),.text2.value)
>hi all,
>i wantto use this value in my query forms, via between command , i know that 0x7FFFFFFF value using with integer fields . Is it possible to use this value for char fields or which method can be use instead of this value for catch max value for this char fiels
>
>TIA
>
>
>with thisform
>lcMinCustID=min(.text1.value,.text2.value)
>lcMaxCustID=Max(.text1.value,.text2.value)
>lcMaxCustID=iif(empty(.text2.value,0x7FFFFFFF,.text2.value)
>endwith
>...
>
>select * from customers where custid between lcminCustID and lcmaxCustID into cursor CrsCustomers
>
>
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform