Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Questions about SQL connection handle
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00894503
Message ID:
00894549
Vues:
12
Well, I've tested two things to generate errors; first put an incorrect database name in the connection string and second I shut down the SQL Server. In both instances an error occurs when trying a test program, however the error seems to be generated that does not come from Fox - maybe the OS or SQL (I'm not sure). Anyway, an ON ERROR doesn't catch it, it displays a messagebox "Microsoft SQL Server Login ... connection failed...". Clicking "Ok" then opens a SQL Server Login dialog, which will only put our users in a tizzy! How does one trap this error and avoid these messagesboxes and dialogs?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform