I have recently started working with an Informix database (iSql) and need to create a new login routine from within VFP as my manager doesn't want to use ODBC which it is right now. Everything I have tried so far comes back with a Windows screen 'Select Data Source' and if I choose the data source it connects.
I have tried this (with an empty DSNname):
dsn = DSNname;Driver = {Informix 3.3 32 BIT};Host = 99.999.999.99;Server = myserver;Service = myservice;Protocol=olsotcp;Database = dbname;Uid = myuser;Pwd = mypassword
this:
Provider=Ifxoledbc;Data Source=dbname@host;User ID=myuser;Pwd=mypassword;Persist Security Info=true;
In this one the host was a name not an IP address
Both of these result in seeing the select data source screen.
The only way to connect is to use the first option and use the dsn name or to use an even simpler piece of text
dsn=dsnname;uid=myuser;pwd=mypassword;database=dbname
A connection can be made in c# without using dsn, but I need to do this in VFP9. Any suggestions gratefully received
I have tried this (with an empty DSNname):
dsn = DSNname;Driver = {Informix 3.3 32 BIT};Host = 99.999.999.99;Server = myserver;Service = myservice;Protocol=olsotcp;Database = dbname;Uid = myuser;Pwd = mypassword
this:
Provider=Ifxoledbc;Data Source=dbname@host;User ID=myuser;Pwd=mypassword;Persist Security Info=true;
In this one the host was a name not an IP address
Both of these result in seeing the select data source screen.
The only way to connect is to use the first option and use the dsn name or to use an even simpler piece of text
dsn=dsnname;uid=myuser;pwd=mypassword;database=dbname
A connection can be made in c# without using dsn, but I need to do this in VFP9. Any suggestions gratefully received