Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modify connection
Message
From
13/10/2003 11:01:18
Larry Long
ProgRes (Programming Resources)
Georgia, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Modify connection
Miscellaneous
Thread ID:
00838112
Message ID:
00838112
Views:
57
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
Next
Reply
Map
View

Click here to load this message in the networking platform