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

Click here to load this message in the networking platform