If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Create Form, using query with two parameters
Hello,
I created a query with two parameters. Example, Like [Enter Cust Name] Like [Enter Part number] which works fine, but users have to enter the cust name then click ok then enter the part number and click ok to get the data. Is there a way to do a form which I can use these two fields at the same time and have a button that when click, it will give me the output base on my criteria? So thinking form should be like: Enter Cust Name Enter Part number ok button, cancel button Please advise if this is possible, thanks for any info provided. J. |
#2
|
|||
|
|||
Create Form, using query with two parameters
Juan,
Yes, you can make a form with two unbound textboxes, where the user can enter the Cust Name and Part Number criteria. And then, in your query, in place of your existing parameter prompt, you would put the equivalent of this: [Forms]![NameOfYourForm]![NameOfTheTextbox] -- Steve Schapel, Microsoft Access MVP Juan wrote: Hello, I created a query with two parameters. Example, Like [Enter Cust Name] Like [Enter Part number] which works fine, but users have to enter the cust name then click ok then enter the part number and click ok to get the data. Is there a way to do a form which I can use these two fields at the same time and have a button that when click, it will give me the output base on my criteria? So thinking form should be like: Enter Cust Name Enter Part number ok button, cancel button Please advise if this is possible, thanks for any info provided. J. |
#3
|
|||
|
|||
Create Form, using query with two parameters
.... or in fact a combobox may be more applicable than a textbox.
-- Steve Schapel, Microsoft Access MVP Steve Schapel wrote: Juan, Yes, you can make a form with two unbound textboxes, where the user can enter the Cust Name and Part Number criteria. And then, in your query, in place of your existing parameter prompt, you would put the equivalent of this: [Forms]![NameOfYourForm]![NameOfTheTextbox] |
#4
|
|||
|
|||
Create Form, using query with two parameters
Hi
a nice touch would be to use two combo boxes instead of text boxes that select their data from the tables that hold the customer and part number values. this way your user wont have to type anything. "Steve Schapel" wrote in message ... Juan, Yes, you can make a form with two unbound textboxes, where the user can enter the Cust Name and Part Number criteria. And then, in your query, in place of your existing parameter prompt, you would put the equivalent of this: [Forms]![NameOfYourForm]![NameOfTheTextbox] -- Steve Schapel, Microsoft Access MVP Juan wrote: Hello, I created a query with two parameters. Example, Like [Enter Cust Name] Like [Enter Part number] which works fine, but users have to enter the cust name then click ok then enter the part number and click ok to get the data. Is there a way to do a form which I can use these two fields at the same time and have a button that when click, it will give me the output base on my criteria? So thinking form should be like: Enter Cust Name Enter Part number ok button, cancel button Please advise if this is possible, thanks for any info provided. J. |
#5
|
|||
|
|||
Create Form, using query with two parameters
Hello Steve,
thanks so much for the info. I tried the textbox way and it seems to be working fine. I really appreciate it big time. Thanks again, J "Steve Schapel" wrote: .... or in fact a combobox may be more applicable than a textbox. -- Steve Schapel, Microsoft Access MVP Steve Schapel wrote: Juan, Yes, you can make a form with two unbound textboxes, where the user can enter the Cust Name and Part Number criteria. And then, in your query, in place of your existing parameter prompt, you would put the equivalent of this: [Forms]![NameOfYourForm]![NameOfTheTextbox] |
Thread Tools | |
Display Modes | |
|
|