VISOCO Software
visoco
Quick navigator
visoco visoco visoco
Home | Products | Services | Download | Purchase | Support | Forum | Resources | About

VISOCO dbExpress driver for Sybase ASE- Step by Step


1. Installation

Please run the downloaded file dbexpsyb.exe and follow the installation application instructions. After the process is complete the driver will be installed, configured and ready to work, i.e:

  • All driver files, samples and documentation will be copied to the installation directory.
  • A copy of dbexpsyb.dll from <InstallDir>\Bin will be placed in your System folder.
  • Configuration files dbxdrivers.ini and dbxconnections.ini will be automatically changed by the installation process. You will need these files for Delphi IDE.
2. Usage

To create a simple application like the one from the driver distributive, follow the instructions:

  1. Create a new application (File => New => Application)
  2. Place on the form the following components: SQLConnection, SQLClientDataSet, DataSource, DBGrid:

  3. Set DriverName of SQLConnection to Sybase:

  4. Adjust SQLConnection Params property:

     

    Set the necessary UserName and Password. If you don't want to provide login support when establishing connection, set LoginPrompt of SQLConnection to False. Set the necessary ServerName and DatabaseName as shown in the picture.

  5. Link SQLClientDataSet to SQLConnection. Set the CommandText property:

    The following SQL query is used in our sample: "select id, name from sysobjects". This query retrieves object list from our database.

  6. Link DataSource to SQLClientDataSet. Link DBGrid to DataSource:

  7. Add the following code to the OnCreate event handler:

    SQLConnection1.Open;
    SQLClientDataSet1.Open;

  8. The application is ready to work.
visoco
visoco
visoco

VISOCO Software is Borland Technology Partner since 2002.


    Where have you heard about VISOCO products from ?
    1. your colleagues
    2. download catalog
    3. borland com
    4. newsgroups
    5. search engine

    Other votings
    visoco

    Copyright © 2002-2007 VISOCO Software. All Rights Reserved. Search | Subscription | Site map