> have a Access 2003 Database that is also used by 2000 and 2002 users. I
>have report that I would like to make available for my teammembers.
[quoted text clipped - 13 lines]
>
>Then the user click Preview Report command button and the reports open.
Thanks, this was very helpful. However, what do I do about null values
(empty text boxes). When the report opens and the code runs I get an error
"Invalid use of Null".
How do I get the code to over look the null values and move on?
Thanks,
Tricia
> > have a Access 2003 Database that is also used by 2000 and 2002 users. I
> >have report that I would like to make available for my teammembers.
[quoted text clipped - 24 lines]
> Me.GroupLevel(3).ControlSource = Forms!theform.sort4textbox
> Me.GroupLevel(4).ControlSource = Forms!theform.sort5textbox
Marshall Barton - 15 Dec 2005 23:11 GMT
The text boxes on the form that are not being used can be
set to any constant expression such as =1. Just to be
clear, the code in the form would look like:
Me.sort5textbox = "=1"

Signature
Marsh
MVP [MS Access]
>Thanks, this was very helpful. However, what do I do about null values
>(empty text boxes). When the report opens and the code runs I get an error
[quoted text clipped - 30 lines]
>> Me.GroupLevel(3).ControlSource = Forms!theform.sort4textbox
>> Me.GroupLevel(4).ControlSource = Forms!theform.sort5textbox