Topic: TableGrid filled by query
Hello Dmitry and all MVD fans,
OK, I give up on that one. I've searched the forum and the web but only found reference to embarcadero and other data-aware components, which I'm not looking for.
What I would like to know is : how do I fill a TableGrid with a query.
Simple query :
SELECT id, name, phone FROM customers;
Now, on Form1.TableGrid1...
How do I display the results, rows after rows in a TableGrid ?
I know we can use the embeded query engine in MVD and I do it a lot, but I would like to know how to do it manually
I am sure there is some count.row -1 involved and some for i=0 to count.rows do... but I have been unable to achieve something that works.
Cheers
Mathias
Each time I get a divorce, I keep the house
Zaza Gabor