Forum > Databases

TDBNavigator how to use

(1/1)

dodgebros:
I guess I need help in how to use the TDBNavigator. Do you just place it on the form, set the datasource property and it just works, or is there something else I need to do?

And before someone suggests I read the wiki, I already have!

Thanks in advance,
TD

egsuh:
That should work.

Put a TDataSet descendant, like TSQLQuery, and a datasource that is linked to the dataset.
Then, drop TDBNavigator, and other DB visual controls, e.g. TDBGrid, TDBEdit, etc., and link datasources of them to the previous one. Then they should work once you open the dataset.

Jurassic Pork:
hello,
you have an example how to use it  in my sqlite3 database example project coming with lazarus distribution (in lazarus/examples/database/image_mushrooms)
Friendly, J.P

dodgebros:
A big thank you to you guys for trying to help. Embarrassing as it is it seems I solved this same issue before myself  :-[

https://forum.lazarus.freepascal.org/index.php/topic,7270.0.html

Navigation

[0] Message Index

Go to full version