Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to tell if file string is and .dbf?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00398179
Message ID:
00398247
Views:
26
>>Brenda, in addition to what George says you can use
>>IF ".DBF" $ UPPER(mystring)
>>***
>>ENDIF
>
>Nick,
>
>You could have a folder name with .dbf in it. ie 'c:\some.dbf.folder\data.txt' would return .T.
>
>hth

Right, however it would be a very rare case of stupid user to name folders like that. :)
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform