Friday, October 12, 2007

How to create the Exit button in this program

How to create the Exit button in this program

To create the Exit button in this program

Step 1

To create the exit button in this program, first, you need to insert the Button in the From1 and then enter the Exit word on the button.

Step 2

Next, you need to double click the button and write down the programming in the Code Explorer Window.

Step 3

Finally, you need to set the following;

  1. Program:
  2. Table1.Active := false;
  3. Close;

How to use the TDBGrid to view the table

How to use the TDBGrid to view the table

To use the TDBGrid to view the table

Step 1

To use the TDBGrid to view the table, first, you need to move the mouse to the Data Controls object toolbar and then click the TDBGrid object.

Step 2

After that, inserts the TDBGrid to the From1.

Step 3

Now, you need to go to Object Inspector window to modify the properties and then find the DataSource in the window and then select the DataSource that you want.

How to use the TDataSource to link the table

How to use the TDataSource to link the table

To use the TDataSource to link the table

Step 1

To use the TdataSource to link the table, the first thing you need to do is to move the mouse to the Data Access object toolbar and then click the TDataSource object.

Step 2

Next, you need to insert the TDataSource in the From1.

Step 3

Later, you need to go to Object Inspector window to modify the properties and then find the DatabaseSet in the window and then select the Table that you want. After that, set the Active to the True.

How to use the TTable object to link the database

How to use the TTable object to link the database

To use the TTable object to link the database

Step 1

To use the Ttable object to link the database, first, you need to move the mouse to the BDE object toolbar and then click the TTable object.

Step 2

After that, insert the TTable in the Form1.

Step 3

Now, you need to go to Object Inspector window to modify the properties and then find the DatabaseName in the window and then select the database that you want. Next, find the TableName in the window and then select the table. After that, set the Active to the True.