Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2004
    Posts
    205

    Unanswered: Sybase Power Builder ?

    Hi,

    How to connect to the Sybase database using ODBC dsn from a sybase power builder application ?

    Can anyone give the connection code snippet for this ?

    Thanks,
    Sam

  2. #2
    Join Date
    Jul 2003
    Location
    Romania
    Posts
    8

    What you need

    Hello,

    You must write the following code on open application (if you use default transaction object sqlca)

    SQLCA.DBMS="ODBC"
    SQLCA.dbParm="ConnectString='DSN=dsn_name;dba=user _name;pwd=used_password'"
    CONNECT USING SQLCA;

    Regards,
    Adriana

Posting Permissions

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