G
Guest
I have two recordsets open in code: one is a list of TableNames and the other
is a list of ItemNames (names of fields for tables in TableNames). Both are
built from code by cycling through all the data tables i have in the
database.
When building the ItemNames table, I would like to retrieve from the
TableNames table the TableID number (field 0) and put it in a field for
TableID for the respective ItemNames.
I think this requires filtering, or finding, or seeking, or something, - to
find the record in TableNames in which the TableName corresponds with the
ItemName and retrieving its ID number. (itemnames are a string of table name
and field name, ie) table ALLCAR has 10 fields, therefore there are ten
ItemNames for ALLCAR --- ALLCAR_BIG, ALLCAR_SMALL, ALLCAR_FLDVAL, etc...
Unfortunately, I can't figure out how...can anybody help?
Thanks,
is a list of ItemNames (names of fields for tables in TableNames). Both are
built from code by cycling through all the data tables i have in the
database.
When building the ItemNames table, I would like to retrieve from the
TableNames table the TableID number (field 0) and put it in a field for
TableID for the respective ItemNames.
I think this requires filtering, or finding, or seeking, or something, - to
find the record in TableNames in which the TableName corresponds with the
ItemName and retrieving its ID number. (itemnames are a string of table name
and field name, ie) table ALLCAR has 10 fields, therefore there are ten
ItemNames for ALLCAR --- ALLCAR_BIG, ALLCAR_SMALL, ALLCAR_FLDVAL, etc...
Unfortunately, I can't figure out how...can anybody help?
Thanks,