Hi Michael,
Thanks for your input. I did see that suggestion from some other posts and tried it. It might be clearer if I show you my dbparm.
Ideally I don't want to put a user name and password in my app ini file. So I have been playing around with leaving them out or blank but I get the following error.
Cannot Connect to Database
SQLSTATE = 28000
[SAP][ASE ODBC Driverjlnvalid authorization specification
Examples of dbParms I tried:
DbParm=ConnectString='DSN=sybase_test_adap',ConnectOption='SQL_DRIVER_CONNECT,SQL_DRIVER_NOPROMPT'
DbParm=ConnectString='DSN=sybase_test_adap;UID=;PWD=',ConnectOption='SQL_DRIVER_CONNECT,SQL_DRIVER_NOPROMPT'
Thanks for your help, Charlie