OK... I'm going to sound dumb, but here it goes.
Do I paste the first code into the form code? And do I need to replace any text with my db info?
Like I said before This is my first shot aat making a db.
So, your patience is appreciated.
Thanks again,
Rob
Sorry about that. Like I said I am a newbie here and on access.
Here is the code:
Dim temp As Integer
Dim msg, Title, Defvalue, Answer As String
'Go to last record and make sure it is not null
DoCmd.GoToRecord A_FORM, "frm_Sub1", A_LAST
If IsNull(Sub_Forms![frm_sub1]![RelayID]) Then...
Hello,
I am a newbie to this forum.
I have a subform that I need to have an incrimental counter. The code that I have been trying to make work, keeps coming back with a runtime error. It won't open the subform.
Form structure
frm_Main
frm_sub1
Thank you for your help,
Rob.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.