I make a selection on a form to choose the source of the data (ie I set the form's Record Source depending on the selection combo)- to one of three tables. I select this source then go to a combobox to choose a particular record.
I use the recordsetclone structure to pull through a particular record from my source table using this combobox dropdown list.
ie. in the after-update event I have:
Me.RecordsetClone.FindFirst "[RferenceNO] = '" & Me![Combo2] & "'"
Me.Bookmark = Me.RecordsetClone.Bookmark
My problem is this:
When I make my record selection, I seem to go to the correct table and to the correct record, but only get data back if the record is also in the 'original' table, not the newly selected one!
When requesting a record, I think I also need to change the source table that the recordsorceclone points at.
How do I do that, and where do I put the code?
Also I'd like the main table to be a read/write but only have 'read only' for the other two, if that's possible.
Thanks for your help.
I use the recordsetclone structure to pull through a particular record from my source table using this combobox dropdown list.
ie. in the after-update event I have:
Me.RecordsetClone.FindFirst "[RferenceNO] = '" & Me![Combo2] & "'"
Me.Bookmark = Me.RecordsetClone.Bookmark
My problem is this:
When I make my record selection, I seem to go to the correct table and to the correct record, but only get data back if the record is also in the 'original' table, not the newly selected one!
When requesting a record, I think I also need to change the source table that the recordsorceclone points at.
How do I do that, and where do I put the code?
Also I'd like the main table to be a read/write but only have 'read only' for the other two, if that's possible.
Thanks for your help.