Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Append from
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00712159
Message ID:
00712380
Views:
9
>> BTW, before append line check, if not empty(xFile), if it is empty, user Canceled the dialog. <<

Better yet, use File() to verify that the file actually exists. The user can type any of the following in the File Name textbox and Getfile() will happily accept them and pass them back to your program:

"FoxPro forever!"
"I drank too much sake last night"
"jvp is a big pooh-pooh potty pants"

Those are not filenames you want your program to proceed with....

Mike
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform