R
Rene
Hello,
On a form a I have a button which adds a new record.
On that form is a textfield in which I would like to have the current
date and a following number
eg
200412035 which is: dec. 3, 2004 and the fifth record of that day
200412036 which is: dec. 3, 2004 and the sixth record of that day
Every time I press the button, I want the following number to add up.
What I've so far is this...What to do with the stripes
Private Sub CmdRecPermitNew_Click()
DoCmd.GoToRecord , , acNewRec
Permit = Format([Datum], "yyyymmdd")-----
End Sub
Thnx
René
On a form a I have a button which adds a new record.
On that form is a textfield in which I would like to have the current
date and a following number
eg
200412035 which is: dec. 3, 2004 and the fifth record of that day
200412036 which is: dec. 3, 2004 and the sixth record of that day
Every time I press the button, I want the following number to add up.
What I've so far is this...What to do with the stripes
Private Sub CmdRecPermitNew_Click()
DoCmd.GoToRecord , , acNewRec
Permit = Format([Datum], "yyyymmdd")-----
End Sub
Thnx
René