Article ID: 136773
Article Last Modified on 2/15/2000
CREATE CONNECTION myconnect ;
DATASOURCE sqlsrvr ;
USERID sa ;
PASSWORD passwd
you can create views based on this connection, and then modify the
connection at run time to allow each user to use this connection. To change
the userid and password properties of the connection, use DBSetProp() in
the following manner:
...=DBSetProp('myconnect','connection','userid','<newuserid>')
...=DBSetProp('myconnect','connection','password','<newpassword>')
This connection uses the new userid and password to log in. You need
exclusive use of the .dbc file to make this change.
Additional query words: VFoxWin
Keywords: KB136773