Hi! I have the following code.........
' Find the record in CCinventory that matches the control.
Set rstccinv = db.OpenRecordset("CCInventory", dbOpenDynaset)
If Not IsNull(Me.txtAlloyIDFK) Then
rstccinv.FindFirst "[alloyid] = " & Me.txtAlloyIDFK.Value
If Not rstccinv.EOF Then Forms!invtabnew.Bookmark = rstccinv.Bookmark
End If
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
I get error 3159 - Not a valid Bookmark when I run this.
This has only begun to happen on the new records I've been adding to an existing table...
All help is appreciated! Thanks, Maggie
' Find the record in CCinventory that matches the control.
Set rstccinv = db.OpenRecordset("CCInventory", dbOpenDynaset)
If Not IsNull(Me.txtAlloyIDFK) Then
rstccinv.FindFirst "[alloyid] = " & Me.txtAlloyIDFK.Value
If Not rstccinv.EOF Then Forms!invtabnew.Bookmark = rstccinv.Bookmark
End If
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
I get error 3159 - Not a valid Bookmark when I run this.
This has only begun to happen on the new records I've been adding to an existing table...
All help is appreciated! Thanks, Maggie