elexender 0 Newbie Poster

Hi,
I am using CodeGear c++builder. Im trying to make a GUI to read, write and modify an .mdb( ms-acces) file.
In my form i use TQuery, TDBGrid, TDataSource. So im able to load the database in the TDBGrid using SELECT. I can also use UPDATE, INSERT so that i can modify and add records (no problemo).
But i somehow want to read data from the database and store them in an array. For an example i have a list of names:

ID FieldName
01 Alex
02 John
03 Jack

Now i want to store those name in Char array And those ID numbers in an Integer array so that i can use them for whatever i want to do.

I have no idea on how to do this! Can anyone help me or give some advice\suggestions?
Thanks you anyhow!