P
Phil
Apologies if you have already seen this question I posted it yesterday but
could not find it this morning.
I have a form in a A2000 database that shows course details at the moment I
have it set to only show future courses by using >Date() in the startdate. I
would like to have an option group to be able to switch between all courses
and future courses.
I have never used an option group before:
I created an option group called [Courses] with two options 1. Future
Courses 2. Alll Courses.
In the After update event for courses I have put:
Select Case Me!Courses
Case 1
Me!Courses = ">Date()"
Case 2
Me!Courses = ""
End Select
I have also put this in the on load event for the form. and in the query
the form is based on under startdate I have added
=Forms!Events!Courses
This does nothing at all the form loads with no data and has does not change
if you change the option group
I hope someone can help
Thanks
Phil
could not find it this morning.
I have a form in a A2000 database that shows course details at the moment I
have it set to only show future courses by using >Date() in the startdate. I
would like to have an option group to be able to switch between all courses
and future courses.
I have never used an option group before:
I created an option group called [Courses] with two options 1. Future
Courses 2. Alll Courses.
In the After update event for courses I have put:
Select Case Me!Courses
Case 1
Me!Courses = ">Date()"
Case 2
Me!Courses = ""
End Select
I have also put this in the on load event for the form. and in the query
the form is based on under startdate I have added
=Forms!Events!Courses
This does nothing at all the form loads with no data and has does not change
if you change the option group
I hope someone can help
Thanks
Phil