I tried this and it says that the macro doesn't exist. What would I need in
the macro?
> Create a group heading on Date and Order#. Place these two fields into the
> group header. Add code to the On Format event of this group header:
[quoted text clipped - 23 lines]
> > 05/02 12345 xxxxxx
> > yyyyyy
>I tried this and it says that the macro doesn't exist. What would I need in
> the macro?
Sounds like you entered "Me.MoveLayout = False" directly in the OnFormat
property box. That's not how event code works. Only macro names and function
names can be entered there.
What you do for a code routine is enter "[Event Procedure]" (one of the drop
down choices) and then press the build [,,,] button to the right. That will
take you to the VBA code editor window with the cursor positioned between the
pre-made lines that define the event code procedure. Between those lines is
where you enter "Me.MoveLayout = False".

Signature
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Duane Hookom - 23 Jul 2005 04:13 GMT
Thanks Rick.

Signature
Duane Hookom
MS Access MVP
>>I tried this and it says that the macro doesn't exist. What would I need
>>in
[quoted text clipped - 10 lines]
> procedure. Between those lines is where you enter "Me.MoveLayout =
> False".