Split form update

rowbro

Board Regular
Joined
Dec 16, 2010
Messages
50
Hi all,

I have a simple split form with two input boxes for a starting and finishing date range. Below it a query that utilizes the aforementioned dates. The input boxes work fine (when I open the query separately) and the query works fine, however the query on the split form doesn't update when the dates are updated. Can anyone advice as to how to make this happen?

Thanks,
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
When a form based on a recordsource such as a query or table opens, it gets the data. If you are running a query again afterwards, the form has to be updated. Use whatever code you are running to execute the query to "requery" the form (Me.Requery). I don't suppose it matters if your date inputs are really input boxes or are text boxes on a form, but I've assumed the former, not the latter.
 
Upvote 0

Forum statistics

Threads
1,221,851
Messages
6,162,429
Members
451,765
Latest member
craigvan888

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