Latest News

the latest news from our team

Sybase’s PowerBuilder 5.0

Setting the Database Preferences

At this time, you must un-select the ‘Use Powersoft Repository’ checkbox in the Database Preferences dialog. This capability will be available with catalogues in a future release.

    1. Select Database from the toolbar.

ODBC_p06

    1. Uncheck the Use Powersoft Repository box.

ODBC_p01


Creating a new library

1.

ODBC_p07

2.

ODBC_p08

3.

ODBC_p09

4.

ODBC_p10

5.

ODBC_p11

 


Creating a new project

ODBC_p12


To use your ODBC data source

    1.  Add a new Database profile that references your ODBC data source.

ODBC_p02

    1.  Select the data source as your current Database Profile.

ODBC_p03

    1.  Create a DataWindow.

ODBC_p04

    1.  Select the fields you want to display.

ODBC_p05

  1.  Place the DataWindow on your form and write a script attached to a button to fill it.

transaction abc

abc=create transaction

abc.dbms=’ODBC’

abc.dbparm=”CONNECTSTRING=’DSN=MSDB’,
CONNECTOPTION=’SQL_DRIVER_CONNECT,SQL_DRIVER_
NOPROMPT'”

connect using abc; dw_1.settransobject(abc)
dw_1.retrieve()
Running this application should allow you to see your dataset.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

code