reading the records from a database into a single variable


i am programming in c++ for a couple of years, but all my applications were console based. I have not programmed ever visual applications with c++.

But now i started with c++ buider 5 (that's the edition that i have to program with, it's not my decision) to costruct a visual application.

I have made a new data module to connect with database and a new form to show in screen the records from my database (in access). I have a TDBGrid and a TDBNavigator that show all the records.

My problem is that i want to store in a variable these records (of known dimensions) and then call a function to create an output. How can i achieve that?

Where should i put the code to make it work?

Thanks in advance,
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!