Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modify connection
Message
De
14/11/2003 15:51:22
Larry Long
ProgRes (Programming Resources)
Georgie, États-Unis
 
 
À
13/10/2003 11:01:18
Larry Long
ProgRes (Programming Resources)
Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00838112
Message ID:
00850046
Vues:
18
Test
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform