|
-
October 11th, 1999, 02:24 PM
#1
Access Calendar
I am trying to build a form in MSAccess where clicking on a date in the activex calendar produces a list
of records with that date. When I click on the date I get all the records not just the date selected. I am a beginner who really needs some guidance on this. Thanks
-
October 21st, 1999, 09:11 AM
#2
Re: Access Calendar
create 2 forms, "frmCalendar" (with the activex calendar) and "frmRecords" whose record source is an entire table of records with various dates...
in frmCalendar, in the click event of the calendar, put a line of code similar to this one...
DoCmd.OpenForm "frmRecords", WhereCondition:="[date] = #" & _
CStr(ActiveXCalendar.date) & "#"
I haven't tested this exactly, but it should work. [Date] is the name of the field that holds the date in the table.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|