C
CuriousMark
I have a form that lists in a subform multiple rows of data, each with a
unique key ("id") field. The main form is for entry/edit of the data that is
also shown these rows. I want to code the main form so that when the user
clicks on a row in the subform, the main form shows the chosen record based
on the unique key ("id"). When I write code to change the query in the main
forms recordsource to include "WHERE id = " & (id selected in subform), the
main form now is based on only one record and I can't use the record
navigation to move between all the records. The GoToRecord function only has
offset, first, last, etc., and doesn't allow going to a specific record.
Thanks.
unique key ("id") field. The main form is for entry/edit of the data that is
also shown these rows. I want to code the main form so that when the user
clicks on a row in the subform, the main form shows the chosen record based
on the unique key ("id"). When I write code to change the query in the main
forms recordsource to include "WHERE id = " & (id selected in subform), the
main form now is based on only one record and I can't use the record
navigation to move between all the records. The GoToRecord function only has
offset, first, last, etc., and doesn't allow going to a specific record.
Thanks.