wizcow Registered User. Local time Today, 09:00 Joined Sep 22, 2001 Messages 236 Feb 14, 2004 #1 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
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, 10:00 Joined Jan 14, 2004 Messages 1,036 Feb 14, 2004 #2 In the subform's AfterUpdate event you could use: If Form.CurrentRecord = 16 Then MsgBox "15 entries have been made", vbInformation End If
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, 09:00 Joined Sep 22, 2001 Messages 236 Feb 15, 2004 #3 RichO Thank you for the reply. For some reason I was unable to make the Form.CurrentRecord Click to expand... work, but this works great... Me.CurrentRecord Click to expand... Thanks a bunch! Tom
RichO Thank you for the reply. For some reason I was unable to make the Form.CurrentRecord Click to expand... work, but this works great... Me.CurrentRecord Click to expand... Thanks a bunch! Tom