D
Dwight
I currently have a drop down listbox that displays a list of table name in
the database, but it will not display the tables that are linked to another
database.
Is there a way to do this?
Here is the code that I am currently using.
....
Dim dbs As DAO.Database, tdf As DAO.TableDef
Dim fld1 As DAO.Field
Dim rst As Recordset
Dim returnval
Dim strComboBox As String
Static Flds(100) As String
Forms!form1!Combo20.SetFocus
strComboBox = Combo20.Text
returnval = Null
Set dbs = CurrentDb
Set rstTemp = dbs.OpenRecordset("sysFieldNames", dbOpenDynaset)
Select Case CODE
Case acLBInitialize
For Each tdf In dbs.TableDefs
....
Thanks in advance!
the database, but it will not display the tables that are linked to another
database.
Is there a way to do this?
Here is the code that I am currently using.
....
Dim dbs As DAO.Database, tdf As DAO.TableDef
Dim fld1 As DAO.Field
Dim rst As Recordset
Dim returnval
Dim strComboBox As String
Static Flds(100) As String
Forms!form1!Combo20.SetFocus
strComboBox = Combo20.Text
returnval = Null
Set dbs = CurrentDb
Set rstTemp = dbs.OpenRecordset("sysFieldNames", dbOpenDynaset)
Select Case CODE
Case acLBInitialize
For Each tdf In dbs.TableDefs
....
Thanks in advance!