The events to interact.
There may be other events that need to complete before this one can, e.g. if
you try to run this in the AfterUpdate of a control, it will trigger the
form's BeforeUpdate, AfterUpdate, etc, before the Requery can run.
If new records can be added to the form, then the last event should be
Form_Current as it moves to a new record (because there are no more records
left).
Can't you just test the count in the same code that performs the requery?
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users -
http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"David Mitchell" <david.a.mitchell@talk21.com> wrote in message
news:c3b0fc6f.0311030702.7dbaacb9@posting.google.c om...[color=blue]
> Thanks Allen, but I have already tried this in various event
> procedures and it wont work. When the requery is instructed what
> events are triggered for the form?
>
>
>
> "Allen Browne" <allenbrowne@SeeSig.invalid> wrote in message[/color]
news:<3fa611ec$0$1731$5a62ac22@freenews.iinet.net. au>...[color=blue][color=green]
> > If Me.RecordsetClone.RecordCount = 0 Then ...
> >
> > --
> > Allen Browne - Microsoft MVP. Perth, Western Australia.
> > Tips for Access users -
http://allenbrowne.com/tips.html[/color][/color]