Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trapping for open file dialog
Message
De
15/03/2002 17:02:01
Dave Kopp
Sentinel Information Services, Inc.
Phoenix, Arizona, États-Unis
 
 
À
13/03/2002 08:37:07
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00632018
Message ID:
00633634
Vues:
17
Hey Jerry,

>For example:
>ON ERROR DO myerrproc
>SELECT * FROM MyTableThatDoesNotExist
>***
>
>When this gets code is run, a VFP open file dialog appears. How can I avoid having this dialog appear?

IF USED(MyTableThatDoesNotExist)
SELECT * FROM MyTableThatDoesNotExist
ELSE
issue explicit call to error handler, or
MESSAGEBOX('The table is not open'), etc.
ENDIF

HTH.

--
L8R

Dave
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform