Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert Access code
Message
 
To
06/11/2006 15:07:29
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01167442
Message ID:
01167457
Views:
7
>I am converting some routines written in msAccess and came across the following line:
>
>if crsInternet!Q7l like "##MM" then
>
>
>Can someone tell me what the VFP equivalent to the LIKE "##MM" is?
>The field in question is a Character field width 6.
>
>Thanks

I think, it returns data that begins with two digits followed by MM. There is no exact equivalent in VFP. You need to write your own code, like:
if isdigit(crsInternet!Q7l) and isdigit(substr(crsInternet!Q7l,2)) and ;
    substr(crsInternet!Q7l,3)="MM"

......
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform