This forum rocks!! I have found sooo many helpful tips and tricks here but I am finally stumped. I am in no way an expert with Access or VBA so my code might look amateurish at best but it works.
I have attached a sample db for reference as my explanation might not clearly explain my problem. Here it goes: I have a form with an annual calendar view and a subform with date ranges. The subform has multiple date ranges and the dates on the calendar are highlighted in green for these date ranges. Currently the calendar highlights one date range fine when that subform's record is selected. Once I select a new record in the subform, that record's date range gets highlighted in green and the previuos highlighted date range is no longer green. I need it to highlight all date ranges from that subform green at the same time.
I think my problem is that I have the "highlighting code" within the "load calendar code" but I do not know how to highlight the date ranges any other way. Please help! Thanks and apologies if this is not clear but the sample I've attached speaks tons.
I have attached a sample db for reference as my explanation might not clearly explain my problem. Here it goes: I have a form with an annual calendar view and a subform with date ranges. The subform has multiple date ranges and the dates on the calendar are highlighted in green for these date ranges. Currently the calendar highlights one date range fine when that subform's record is selected. Once I select a new record in the subform, that record's date range gets highlighted in green and the previuos highlighted date range is no longer green. I need it to highlight all date ranges from that subform green at the same time.
I think my problem is that I have the "highlighting code" within the "load calendar code" but I do not know how to highlight the date ranges any other way. Please help! Thanks and apologies if this is not clear but the sample I've attached speaks tons.