Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modify connection
Message
De
13/10/2003 11:01:18
Larry Long
ProgRes (Programming Resources)
Georgie, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Modify connection
Divers
Thread ID:
00838112
Message ID:
00838112
Vues:
56
I am trying to add a command to interactively modify a connection from within a program. However, when I do so the code after my MODI CONN statement does not wait for this command to clear. Am I missing something?

Sample code...
OPEN DATA
lvalid = .F.
liscanc = .F.
DO WHILE NOT lvalid AND NOT liscanc
lvalid = SQLCONNECT('myConnection') > 0

liscanc = MESSAGEBOX('Invalid ODBC Connection, please correct',49) = 2

IF NOT liscanc
MODI CONNECTION ?
ENDIF

=sqldisconnect(0)
ENDDO
return(lvalid)
L.A.Long
ProgRes
lalong1@charter.net
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform