R
RG
Hi.
I'm trying to give a limited 'custom search' facility on a form for DB
users.
My idea needs three elements:
1. A drop down list populated with the Field Names of a specific table
2. A text field into which the user can enter the text or value to search
for
3. A command button that uses data from the first two fields in a
BuildCriteria
function and requeries the form to give the results.
I primarily need help with two parts just now:
Firstly, how to populate a drop down menu with the field names of a specific
table.
Second, how to calculate the field type of the selected field for use in the
BuildCriteria function.
I'm not used to Access programming - I've got a feeling this is reasonably
easy but I don't know how to do it.
Thanks
Ronnie
I'm trying to give a limited 'custom search' facility on a form for DB
users.
My idea needs three elements:
1. A drop down list populated with the Field Names of a specific table
2. A text field into which the user can enter the text or value to search
for
3. A command button that uses data from the first two fields in a
BuildCriteria
function and requeries the form to give the results.
I primarily need help with two parts just now:
Firstly, how to populate a drop down menu with the field names of a specific
table.
Second, how to calculate the field type of the selected field for use in the
BuildCriteria function.
I'm not used to Access programming - I've got a feeling this is reasonably
easy but I don't know how to do it.
Thanks
Ronnie