D
DennisT
I have a listbox called "List7" that contains the fields "tableid" and
"tablename". I am trying to use the listbox for all of my tables in the
database and then use a button to run code against each table entry as the
fields are the same for each table.
strsql2 = "select * from " & List7 returns the record number, but not the
tablename that could be used for the openrecordset statement. what do I need
to do to substitute the tablename value from the listbox for the select
statement? Thanks
"tablename". I am trying to use the listbox for all of my tables in the
database and then use a button to run code against each table entry as the
fields are the same for each table.
strsql2 = "select * from " & List7 returns the record number, but not the
tablename that could be used for the openrecordset statement. what do I need
to do to substitute the tablename value from the listbox for the select
statement? Thanks