WHDOCNO is the last invoice number. There are several sections for each invoice type, section are listed as WHSECID.
Is it possible to add statement in vba code in event procedure?
I have a form when it loads, it fetches a number and increments the last stored invoice number.
UG added Code Tags
Private Sub Form_Load()
DoCmd.SetWarnings False
DoCmd.OpenQuery "GRNDatatmpIni"
Me.Refresh
Me.Command42.Enabled = False
Dim MyDb As Database
Dim mFil03 As Recordset...