Главная страница | назад





Article #25636: Using Form Wizard to Quickly Create a Delphi Form

Problem:
This document will show how to quickly and easily make a Delphi form
that is bound to a table.
Solution:
The steps below demonstrate how to use the Form Wizard to quickly
create a form that is bound to a table in a Delphi application. It
is assumed that the user has done a full install of Delphi.
1. Start Delphi.
2. Select File | New Application from the menu.
3. Select Database | Form Wizard from the menu.
4. You will now see a form with Radio buttons for selecting
Form Options and DataSet options.
5. For this example, we will use the defaults of :
Form Options set to "Create a simple form.
Data Options set to "Create a form using Ttable objects"
6. Hit the  button.
7. Click on the white area under "Drive or Alias Name" heading.
This will bring up a list of drives and aliases to choose from.
8. Select "DBDemos" as the alias you want to work with.
9. Select the "customer" table by double clicking on it.
10. Click on the ">>" button to include all fields from the customer table in the form.
11. Click on  button.
12. Click on radio button next to "In a Grid"
13. Click on 
14. Click on "Form and Data Module"
15. Click on "Finish" button.
16. See the form come up.
17. Hit  to see data in form

Last Modified: 24-OCT-00