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


> 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

ENTIRE THREAD

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