I am a complete beginner here. Can someone please post some Delphi code to
- create a database
- add a simple table
- close the database
then, later
- open a database
- read each table
- read each field of a given table
- perform a simple search
Sorry to be so clueless. I did google, but didn’t find a useful tutorial …
In addition, it would be useful if the underlying database were MySql (5.1.36) (I don’t even know if that makes any difference)
@mawg, i wrote an simple program for you to ilustrate how work with ADO and Delphi. this is an console application, but explains the basics.
before you execute this code you must download and install the odbc connector from this location.
You can improve and adapt this code to your requirements.