SQL Grid

back to main page

Want to have a table, which shows data from a SQL database?

 

Use SQL Grid custom control.

 

Simply define location of this control, Name of the ODBC source, user name, password, table name, fields to select and criteria - the rest will be done automatically.

 

This custom object doesn't keep connection with the database - it reads data and displays inside GRID Object

 

This object is built into VP Studio Shell. Click here to download VP Studio Shell samples.

 

Steps to include object into your project:

 

 

Description

Create custom control with the name:

 

cl_sql_grid

 

Edit Object properties using VP Studio Shell property editor.

 

You can define:

 

  • Font

  • Background color

  • Alignment

  • Data source name

  • User, password

  • Connection string

  • Table

  • List of fields

  • Criteria

Preview object and compile application.

 

The parameters entered will be passed to the object in final application.

 

The same data will appear in your compiled application

 

 


 

Copyright 1998-2002 EDMGROUP (Australia)

Last Updated: April 17, 2002