G
gr
Hello =)
I want to synchronize a form (Form1) and another form that
is a subform (sfrmMeasurementDevices) from frmMD.
Form1 is a short overview for Measurement devices. and
sfrmMeasurementDevices shows detail information and other
stuff.
I wanted to synchronize useing MDID
part of the code looks like follows:
Dim rst As DAO.Recordset
Dim strSearch As String
Forms!frmMD!sfrmMeasurementDevices.RecordsetClone
strSearch = BuildCriteria("MDID", dbLong, Me!MDID)
rst.FindFirst strSearch
Forms!frmMD!sfrmMeasurementDevices.Bookmark =
rst.Bookmark
The code is placed on Form1. And an error is generated on
Forms!frmMD!sfrmMeasurementDevices.RecordsetClone --
There's no Child-Master link between frmMD and
sfrmMeasurementDevices (and for my purposes it must be
like this). sfrmMeasurementDevices RecordSource is
assigned on its load event.
thx.
I want to synchronize a form (Form1) and another form that
is a subform (sfrmMeasurementDevices) from frmMD.
Form1 is a short overview for Measurement devices. and
sfrmMeasurementDevices shows detail information and other
stuff.
I wanted to synchronize useing MDID
part of the code looks like follows:
Dim rst As DAO.Recordset
Dim strSearch As String
Forms!frmMD!sfrmMeasurementDevices.RecordsetClone
strSearch = BuildCriteria("MDID", dbLong, Me!MDID)
rst.FindFirst strSearch
Forms!frmMD!sfrmMeasurementDevices.Bookmark =
rst.Bookmark
The code is placed on Form1. And an error is generated on
Forms!frmMD!sfrmMeasurementDevices.RecordsetClone --
"Object doesn't support property or method"
There's no Child-Master link between frmMD and
sfrmMeasurementDevices (and for my purposes it must be
like this). sfrmMeasurementDevices RecordSource is
assigned on its load event.
thx.