I'm not sure what I'm doing wrong with this problem. I have data on my company's SQL server.
I have a VFP6 database in which I create a connection using an ODBC source I created.
I create a view in the VFP database based on that connection. When I 'use' the view, it works fine.
At the client's site, I create the ODBC source and in a program the user runs, I re-do the connection (same name) with the following code:
I know the variables are correct, but when I 'use' the view I had defined initially, it won't work on the clients' site although the table structures are identical. I know I have an issue with there being different owner names on the SQL server between my site and the clients' and I'm sure VFP is getting confused.
What do I need to do to make this work on both my network and the client's network?
I have a VFP6 database in which I create a connection using an ODBC source I created.
I create a view in the VFP database based on that connection. When I 'use' the view, it works fine.
At the client's site, I create the ODBC source and in a program the user runs, I re-do the connection (same name) with the following code:
Code:
open database soil1
create connection olayconn datasource &mdsOlay userid &msqllogar password &msqlpassar
What do I need to do to make this work on both my network and the client's network?