Forms and returning data from querys.

culcuhain

New Member
Joined
Apr 28, 2010
Messages
21
Ok.
I am having a bad mental day (sinus headache).
I have a form with 2 combo boxes, 1 Text Box, and one button.

Combo Box #1 is the location.
Combo Box #2 is the Month and Year.
The button runs the query.
The text box is where I want the result of the query to go.

The query runs great. It gets the data from the 2 Combo Boxes and passes it to the query and I get one result. Perfect.

Now how do I get that one result to populate on the form in the Text box?

The form is not set in stone, so other easier/more straight forward ways are readily acceptable. Thanks!!!
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

Forum statistics

Threads
1,224,551
Messages
6,179,473
Members
452,915
Latest member
hannnahheileen

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top