N
Nasir.Munir
I am trying to create a form which will have two list boxes. The first
list box will be populated with the table names(which I will get from
linked odbc). Once a user selects a table in the list, then the second
list box should display the fields of that particular table.
What I have done so far is:
1)created a form
2)added two list boxes
3)created a query to get the names of the table from sysobject table.
4)populated the first list box with the names of the table.
I am stuck here, as I dont know how to get the names of the column of
the table(just the names not the data). Also, how can I link the two
list boxes together ? If I go to the event builder(code part) and try
to use listbox2.value = listbox1.value or anything like this, I am
getting "no module found" error, and sometimes a message suggesting
that form name is misspelled.
I am new to access, can anyone help ?
I am using access 2000, and my OS is windows XP.
list box will be populated with the table names(which I will get from
linked odbc). Once a user selects a table in the list, then the second
list box should display the fields of that particular table.
What I have done so far is:
1)created a form
2)added two list boxes
3)created a query to get the names of the table from sysobject table.
4)populated the first list box with the names of the table.
I am stuck here, as I dont know how to get the names of the column of
the table(just the names not the data). Also, how can I link the two
list boxes together ? If I go to the event builder(code part) and try
to use listbox2.value = listbox1.value or anything like this, I am
getting "no module found" error, and sometimes a message suggesting
that form name is misspelled.
I am new to access, can anyone help ?
I am using access 2000, and my OS is windows XP.