hOw can i translate the string variable to record

hi all, i am using ado library for establish a connection with MS-Access database. MS-Access table contains Navision Table Names. i have got a string from a query dynamically, it contains Navision Table Name. now i would like to initialize the Table with that name. so that i can modify the navision Data. hOw can i translate the string variable to record variable? plz concern this as seriously… thanks, Ramesh.

You will probably get a better response if you post this in the Developer forum. If I understand correctly what you are trying to do then the only way you can achieve this is by using the RecordRef data type. Define a field of type RecordRef then: recordref.OPEN(DATABASE::Customer); where Customer is the table name. Unfortunately is in not quite this simple as you will need use FieldRef to aceess the fields in the table.