I am having issues with going to a new record and i do not know why. I am thinking it should be straightforward. I have a startup form with 5 buttons on it. One of them opens up a diferent form and is 'supposed to' open a blank record so the user can enter in their info. It currently goes to the last record and thats it.
If gintNew = 0 Then
'DoCmd.GoToRecord , , acNewRec
cmdAddNew.Visible = True
Call cmdAddNew_Click
cmdAddNew.Visible = False
' rst.MoveLast
'rst.MoveNext
'rst.NewRecord
cmdSaveExit.Visible = True
End If
as you can see I have tried .addnew, .movelast and .movenext, and docmd.gotorecord. I set my RST before this step. I have even tried moving it to after this step for the gotorecord
the gotorecord said it wasnt available at this time
I have even tried creating a button through the wizard and tried activating it through VBA but nothing is working. Am i on the right track?
If gintNew = 0 Then
'DoCmd.GoToRecord , , acNewRec
cmdAddNew.Visible = True
Call cmdAddNew_Click
cmdAddNew.Visible = False
' rst.MoveLast
'rst.MoveNext
'rst.NewRecord
cmdSaveExit.Visible = True
End If
as you can see I have tried .addnew, .movelast and .movenext, and docmd.gotorecord. I set my RST before this step. I have even tried moving it to after this step for the gotorecord
the gotorecord said it wasnt available at this time
I have even tried creating a button through the wizard and tried activating it through VBA but nothing is working. Am i on the right track?