var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Auto generate ID number
Hi! I'm quite new with VBA in access.. Can anyone help to auto generate an ID number? I've tried the following codes, but when I add a new record the ID number does not appear at all...
Private Sub StudID_BeforeUpdate(Cancel As Integer)
Dim tot As Integer
tot = 0
tot = tot + 1
StudID = “S” + tot
Thanks in advance!
Auto Generate ID Number
There are many examples in this forum. Here is an example. Hope this helps.