Query based on a form which had field names and some values (1 Viewer)

virencm

Registered User.
Local time
Today, 09:57
Joined
Nov 13, 2009
Messages
61
Hi guys,

I have a table listing about 20 elements as field names eg FE, CR, NI, TI and so on.
I have built a form which has a combo box listing these elements by selecting "fields" in the property settings of the combo box & next to this combo box i have 2 text box's where the user can input Min & Max values to pass on to the query.

eg FE (chosen from the combo box) value between (Text box1) and Text box 2.

I can run the query to give me values between the 2 text box's by using the following formula in the criteria (Between textbox1 and textbox 2).

The issue i have is to be able to select the element from the listbox, input the min & max values identified and be able to pass this to a query so the query can filter based on the field and values passed?

Can someone help please?
 

pr2-eugin

Super Moderator
Local time
Today, 00:57
Joined
Nov 30, 2011
Messages
8,494
So where are you stuck? You seem to have got everything in place. Show the Query, is it working? Is it showing any error?
 

virencm

Registered User.
Local time
Today, 09:57
Joined
Nov 13, 2009
Messages
61
Hi,
Thanks for your response. I have attached the database.
There is a note on the main form that explains what i am trying to do. I hope it makes sense.

cheers
Viren
 

virencm

Registered User.
Local time
Today, 09:57
Joined
Nov 13, 2009
Messages
61
Sorry here is the attachment
 

Attachments

  • Material Data.mdb
    544 KB · Views: 57

Users who are viewing this thread

Top Bottom