Nov 19

I am trying to build an app using MySQL and of course Delphi with ZeosDBO components.

Drop a ZConnection.

  • Set your User, Password, Host, Port and Protocol (and any other parameters if needed).
  • Set Connected to True.

Delphi - Make First Zeos Application1

Drop a ZQuery (do not mistake with ZReadOnlyQuery).

  • Set the Connection to your active ZConnection.
  • Set the Sql property to something like SELECT * FROM MyTable.
  • Set Active to True.

Delphi - Make First Zeos Application2

Drop a DataSource from the Data Access tab.

  • Set the DataSet to your active ZQuery.
  • Drop a DBGrid from the Data Controls tab.
  • Set the Datasource to your DataSource.

If all is ok you should now be able to see the records from your table.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Technorati
  • Twitter

Related Posts:

  1. Free Kindle Reading Application
  2. SQL DEFAULT Constraint
  3. Windows StartUp Manager Delphi Application
  4. System Tray Delphi Application (Part I)
  5. Delphi ZeosDBO Component

Leave a Reply