loading dates of a month

  • Thread starter Thread starter Richard
  • Start date Start date
R

Richard

Hi

Currently I am trying to set a continuous subform form where all the events
taking place in a certain month will be shown. Of course it shows only the
days where the user has entered events only. What I would like is for the
subform to show all dates regardless with or without events, something like
the calendar. Can anyone please point me to the right direction?

Another thing, if I want a combo box to show the data from a table including
a "show all" which is not in the list from the table.

Help appreciated. Thanks in advance
Richard
 
Build a table with a calendar. Hint: The easiest way is to add the first 3
or 4 dates in an Excel column, and drag it down. Then import or link it to
Access. Then set up a query with an Outer Join to your table so that all the
days will show up on the calendar side. For an editable query, add a field
to the calendar table and just use and update query to update that field in
your calendar table.

Use a Union query:

SELECT Null As ID, "<All>" As [Description]
FROM tblWhatever
UNION SELECT ID, [Description]
FROM tblWhatever;
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads:
http://www.datastrat.com
http://www.mvps.org/access
 
Thanks Arvin for the great suggestion.

Richard

Arvin Meyer said:
Build a table with a calendar. Hint: The easiest way is to add the first 3
or 4 dates in an Excel column, and drag it down. Then import or link it to
Access. Then set up a query with an Outer Join to your table so that all the
days will show up on the calendar side. For an editable query, add a field
to the calendar table and just use and update query to update that field in
your calendar table.

Use a Union query:

SELECT Null As ID, "<All>" As [Description]
FROM tblWhatever
UNION SELECT ID, [Description]
FROM tblWhatever;
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads:
http://www.datastrat.com
http://www.mvps.org/access

Richard said:
Hi

Currently I am trying to set a continuous subform form where all the events
taking place in a certain month will be shown. Of course it shows only the
days where the user has entered events only. What I would like is for the
subform to show all dates regardless with or without events, something like
the calendar. Can anyone please point me to the right direction?

Another thing, if I want a combo box to show the data from a table including
a "show all" which is not in the list from the table.

Help appreciated. Thanks in advance
Richard
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top