can i display a filtered table on a form?

merlin777

Well-known Member
Joined
Aug 29, 2009
Messages
1,397
Office Version
  1. 2007
I'm very new to access so please be gentle with me...

i want to present my users with a form to enter data (their meetings for a day) into my main table and by the side of it a list of the current meetings for that day to help them make their choices.

The main table is a list of all meetings every year so i only want to see the records for the day they are adding meetings to and only some of the fields (where/when/how long/who with/subject.

Ideally I'd also like to put a similar list by the side of it showing that day's appointments for the person they are meeting.

I know this sounds like a job for outlook but there are very good reasons why i can't use it including the need for a lot of related data crunching and the need to print reports in a very specific format.

One big question I have is does it have to be a continuous list or could i display them in a timetable format with the hours down the left hand side?

I'm not quite sure of the best approach...
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
It is quite possible. Create a query to filter for today's meeting. Use the query as the record source for sub-form. Insert the sub form into the main form.
 
Upvote 0
I created a form using fields from my main table.

I created my query from my main table and added filters and a calculated field (subtracted a start time from an end time to give me a duration). I inserted controls boxes on the form - one to select a the person they are meeting and one to select a date with the date picker. That's all working nicely and in datasheet view i see what I expect.

I added a subform control to my form and placed my query into it. Although the query displays correctly on its datasheet view it does not display any data in the subform on my mainform.

Any idea where I've gone wrong?
 
Upvote 0
Have you created a parent-child relationship between the main form and the sub-form?
 
Upvote 0
you've got it. I did have one, I deleted it and now it seems to display ok. Thanks! I'm experimenting with using a list box instead of a subform to display the data too - it looks a lot simpler.
 
Upvote 0

Forum statistics

Threads
1,213,543
Messages
6,114,240
Members
448,555
Latest member
RobertJones1986

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