R
Robin S.
In Access 2003.
I have a form, and a subsiquent pop-up form. Here's the code on the
parent form (called directly from a command button click event):
Private Sub SizeWeightForm()
'Open the size/weight form
DoCmd.OpenForm "frmSizeWeight"
'Move to current record
Forms.frmSizeWeight.RecordsetClone.FindFirst "[PRODUCT_ID] = '" &
Me.PRODUCT_ID & "'"
Forms.frmSizeWeight.Bookmark = Me.RecordsetClone.Bookmark
End Sub
This code has worked for just over 450 records. Now it won't run for
any subsiquent records, although it continues to work for the original
450. PRODUCT_ID is indexed and unique.
I get:
Run-time error '3159'
Not a valid bookmark
Any thoughts as to why this code would stop working after a certain
number of records? Nothing seems to have changed and I haven't updated
Office recently.
The .mdb file is just under 100MB in size.
Any suggestions are much appriciated.
Regards,
Robin
I have a form, and a subsiquent pop-up form. Here's the code on the
parent form (called directly from a command button click event):
Private Sub SizeWeightForm()
'Open the size/weight form
DoCmd.OpenForm "frmSizeWeight"
'Move to current record
Forms.frmSizeWeight.RecordsetClone.FindFirst "[PRODUCT_ID] = '" &
Me.PRODUCT_ID & "'"
Forms.frmSizeWeight.Bookmark = Me.RecordsetClone.Bookmark
End Sub
This code has worked for just over 450 records. Now it won't run for
any subsiquent records, although it continues to work for the original
450. PRODUCT_ID is indexed and unique.
I get:
Run-time error '3159'
Not a valid bookmark
Any thoughts as to why this code would stop working after a certain
number of records? Nothing seems to have changed and I haven't updated
Office recently.
The .mdb file is just under 100MB in size.
Any suggestions are much appriciated.
Regards,
Robin