Count files (1 Viewer)

wizcow

Registered User.
Local time
Today, 14:19
Joined
Sep 22, 2001
Messages
236
I would like to have a message box pop up after 15 entrys have been made in the subform on my Invoice form.

How do I count the entrys on a subform?

Thanks
Tom
 

RichO

Registered Yoozer
Local time
Today, 15:19
Joined
Jan 14, 2004
Messages
1,036
In the subform's AfterUpdate event you could use:

If Form.CurrentRecord = 16 Then
MsgBox "15 entries have been made", vbInformation
End If
 

wizcow

Registered User.
Local time
Today, 14:19
Joined
Sep 22, 2001
Messages
236
RichO

Thank you for the reply.

For some reason I was unable to make the

Form.CurrentRecord

work, but this works great...

Me.CurrentRecord

Thanks a bunch!

Tom
 

Users who are viewing this thread

Top Bottom