• Homework
  • Thirds
  • Upper Thirds
  • Fourth
  • Divisions
    • ICT
    • Computer Science
  • Fifth
  • Lower Sixth
  • Upper Sixth
    • Upper Sixth Theory
  • Blog
  • Careers
  • Unity
  • Networking
computinglesson.com

Access and Delphi walkthrough

Part two, setting up the Delphi form - simple version

Picture
Start Delphi and choose VCL Forms application.

Adding controls to the form

We need to add some controls to the form.  These need to be, in order:
  • FDConnection
  • FDPhysMSAccessDriverLink
  • FDGUIxWaitCursor
  • FDTable

Drag one of each of these items onto your form.  They won't be visible when the form is run, so you can put them anywhere you like.

You'll find the controls at the bottom right hand side of the screen in the Tool Palette.  The quickest way to find them is to type the first part of the name into the search bar.
Picture
You should end up with something like this.
Picture
Each of these controls has a part to play in the process.  The image below shows roughly how they are connected.   Notice that we haven't created a Datasource yet, that will come in the next step.  Once we've set up our form, we will replace the Table control with a Query control, so that we can use SQL, but that's coming next.
Picture

Click for Part three, connecting the controls

Powered by Create your own unique website with customizable templates.