H
H. Martins
I want a form to be kept sort of readonly until a newrecord button is
pressed:
In Form_AfterUpdate() I use:
If Me.NewRecord = True Then
Me.RecordsetType = 0 'Dynaset
Else
Me.RecordsetType = 2 'Snapshot
End If
Then, when the button is pressed I use:
Me.RecordsetType = 0 'Dynaset
DoCmd.GoToRecord , , acNewRec
Then I get the message that "you can't go to the specified record"
Can I have some help, please. I also tried Form_BeforeUpdate() and
Form_Current(), I can't get it running.
Can I have some help, pelase?
Thanks
H. Martins
pressed:
In Form_AfterUpdate() I use:
If Me.NewRecord = True Then
Me.RecordsetType = 0 'Dynaset
Else
Me.RecordsetType = 2 'Snapshot
End If
Then, when the button is pressed I use:
Me.RecordsetType = 0 'Dynaset
DoCmd.GoToRecord , , acNewRec
Then I get the message that "you can't go to the specified record"
Can I have some help, please. I also tried Form_BeforeUpdate() and
Form_Current(), I can't get it running.
Can I have some help, pelase?
Thanks
H. Martins