Hello, I have the following connection string:
sqlca.dbms = "value"
sqlca.database = "database_name"
sqlca.servername = "server_name"
sqlca.dbparm="ConnectString='DSN=database_name',DisableBind=1,DelimitIdentifier='No',StripParmNames='Yes',CallEscape='No',MsgTerse='Yes',FormatArgsAsExp='N',TrustedConnection=1 "
sqlca.userid = "user_name"
sqlca.logid = "user_name"
and I need to do it as an if - else sentence, for example if it is user1 and password1, then use the following connection string ... , else if: if it is user 2 with pass2, then use the connection string 2.
how can I do this, so far I can only make it possible to connect with a single user configuration.
Thanks in advance.