Yafr: Df_driver_client_name
HI DAW/Martin,
Can we please have a new driver attribute to return the Client Name ?
For example:
[CODE]
DB2_DRV : Get_Attribute DF_DRIVER_CLIENT_NAME of iDriver to sClientDrvName // returns "{IBM DB2 ODBC DRIVER}"
MSSQLDRV: Get_Attribute DF_DRIVER_CLIENT_NAME of iDriver to sClientDrvName // returns "{SQL Server Native Client 11.0}"
[/CODE]
This would be very useful for creating DSN-less connection strings, especially for DataFlex Reports (SQL/SP)
Thanks.
Re: Yafr: Df_driver_client_name
This is already a thing in MSSQL. for 19.1
Function SqlServerClientDriverName Integer iClientVersion Returns String
MM
Re: Yafr: Df_driver_client_name
Hi Michael,
Well, that's the cMSSQLHandler class covered, but non of the other DRV pkgs (ie. DB2_DRV.pkg) have this featured.
Sadly, the cDB2Handler class has not changed/updated since its first release - I guess it's no stark uh?
Having a similar "[COLOR=#333333]SqlServerClientDriverName" for DB2 would satisfy this issue.
Thanks
[/COLOR]
Re: Yafr: Df_driver_client_name
Hi Raveen,
First of all the driver has to support it. MSSQL has version numbers for client versions and you can translate it to a description. I don't know if DB2 has a similar thing.