- Lloyd McBean
- PowerServer
- Friday, 2 September 2022 10:20 AM UTC
I am using the CASE statements for setting database connection details up to PB2021 without PowerServer
Example:
Case IS_USE_SCRIPT /* Populate Database Connection from Script */
as_dbms = "ODBC"
as_database = ""
as_userid = ""
as_dbpass = ""
as_logid = ""
as_logpass = ""
as_server = ""
as_dbparm = "ConnectString='DSN=ABCD;UID=xyz;PWD=12345Etc'"
as_lock = ""
as_autocommit = "false"
This works perfectly fine until I try running PowerServer Object.
When I run the powerserver object I get the following error:
---------------------------
Cannot Connect to Database, Application will now close
---------------------------
The database type cannot be confirmed because the driver information of DBMS 'ODBC' is not specified in DBParm
---------------------------
OK
---------------------------
Any pointers would be appreciated.
Environment is:
PB 2021, Sybase SQL Anywhere 17
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.