Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Suppress the Open dialog
Message
De
07/01/2002 12:37:02
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
07/01/2002 12:27:40
Bruce Gordon
Wicks Broadcast Solutions, Llc
Vienna, Virginie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00601549
Message ID:
00601554
Vues:
31
>This seems like a dumb question, but how do you suppress the Open dialog when you try to Use a table, or try to do a Select with an open database, but the table isn't there? This should be a trappable error (it is, but only AFTER you hit Cancel on the dialog), but I need to run this stuff in COM objects and web servers with no user to react to an interface.
>
>Set Talk OFF doesn't do it. I don't see a SET command that I would expect would do it...
>
>TIA
>
>Bruce Gordon

Bruce,
You can check the existence. For flat files there is file() and database tables dbobjects(), dbgetprop('SourceName'...), dbgetProp('Path'...)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform