cyberbiker
Programmer
I wonder if it is possible to determine field names in a table at run time?.
I am creating a "little ad hoc" report program in ACCESS 97 where the user will be able to choose a select clause from a dropdown combo box (All she will see is a "plain English translation such as "Equipment search"
.
I then want to fill a couple of more dropdown combo boxes with the available fields in the applicable tables.
At this point she will choose "1 from column a". an operator from another list box and "1 from column b" to "finish writing the where clause and orderby clause"
The coding will be a bit more complex than what I am making it sound, but if I can fill the combo boxes with field names for her to choose from at run time by determining what fields are actually available in the applicable tables, things will be much easier in the long run.
Any ideas would be appreciated.
Terry (cyberbiker)
I am creating a "little ad hoc" report program in ACCESS 97 where the user will be able to choose a select clause from a dropdown combo box (All she will see is a "plain English translation such as "Equipment search"
I then want to fill a couple of more dropdown combo boxes with the available fields in the applicable tables.
At this point she will choose "1 from column a". an operator from another list box and "1 from column b" to "finish writing the where clause and orderby clause"
The coding will be a bit more complex than what I am making it sound, but if I can fill the combo boxes with field names for her to choose from at run time by determining what fields are actually available in the applicable tables, things will be much easier in the long run.
Any ideas would be appreciated.
Terry (cyberbiker)