Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: ALex Ko
  Where is ALex Ko?
 ALex Ko
 To: Jamie Osborn
  Where is Jamie Osborn?
 Jamie Osborn
Subject: RE: How to supress “Open file” window in case o...
Thread ID: 16143 Message ID: 16177 # Views: 0 # Ratings: 0
Version: Unknown Category: General VFP Topics
Date: Thursday, October 10, 2002 5:15:04 PM         

> > Have application, which working in background. Sometimes this app tries make a cursor from different local tables. If file is missing the window “Open file” (similar to getfile()) appears, even if I have a error handling routine. Is there way to rise an error instead of this window?
> > Testing the file presence with FILE() before selects makes code ugly.
> > Any ideas ?
> >
> > Thanks in advance
> > Alex
> I would say that issuing SELECT statements where the tables may ormay not exist is ugly and that testing for their existence with FILE() before the select is good programming practice. Why do you think that testing with FILE() is ugly ?
> Cheers,
> Jamie
> jamie.osborn@foxite.com
Thanks for very helpful advice. Luck of skills isn’t a problem for guru. If you can’t imagine specific situation this doesn’t mean this situation doesn’t exists.


How to supress “Open file” window in case of error Posted by ALex Ko @ 10/9/2002 11:39:56 PM
RE: How to supress “Open file” window in case o... Posted by Jamie Osborn @ 10/10/2002 1:45:06 AM
RE: How to supress “Open file” window in case o... Posted by ALex Ko @ 10/10/2002 5:15:04 PM