Results 1 to 4 of 4

Thread: Yafr: Df_driver_client_name

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2009
    Location
    New Zealand
    Posts
    1,828

    Default 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}"
    This would be very useful for creating DSN-less connection strings, especially for DataFlex Reports (SQL/SP)

    Thanks.
    Regards,
    Raveen Sundram

    Software Development Manager
    Excellent Software Ltd
    Auckland, New Zealand
    www.helixretail.co.nz


  2. #2
    Join Date
    Feb 2009
    Location
    Queens, NY, NY
    Posts
    7,424

    Default Re: Yafr: Df_driver_client_name

    This is already a thing in MSSQL. for 19.1

    Function SqlServerClientDriverName Integer iClientVersion Returns String

    MM
    Michael Mullan.
    Danes Bridge Enterprises.

    ++++++++++++++++++++++++++++
    There is just today. Tomorrow is a concept
    that is mostly theoretical. -- GM Wylie
    ++++++++++++++++++++++++++++

  3. #3
    Join Date
    Mar 2009
    Location
    New Zealand
    Posts
    1,828

    Default 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 "SqlServerClientDriverName" for DB2 would satisfy this issue.

    Thanks



    Regards,
    Raveen Sundram

    Software Development Manager
    Excellent Software Ltd
    Auckland, New Zealand
    www.helixretail.co.nz


  4. #4
    Join Date
    Feb 2009
    Location
    Maasland, The Netherlands
    Posts
    2,605

    Default 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.
    Best regards,

    Peter van Mil
    Appvantage b.v.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •