>>> 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
Thanks a lot. I guess, I never tried to type anything in this dialog (and never tried my users).
If it's not broken, fix it until it is.
My Blog