J
Jim Moore
In my application, there is a main form and a subform within the main form.
The subform has 35 rows and I need to pick data elements that will not
conveniently fit within the subform - 5 of the 35 rows have distinctly
different information from one another. On a separate form, I have 5 sets
of Option Buttons corresponding to the appropriate rows - one set of option
buttons has a different shade background to indicate the appropriate set for
data entry. The form is working as desired BUT, I can't get the data to
link back to the correct row. The separate form is activated by a Option
Button on the Subform - the On Got Focus event which sets the colors of the
separate form. I set a bookmark when I enter the On Got Focus
(variantBookMark = rec.BookMark). Then, when I am ready to write
edit/update the collected data, I set the bookmark in reverse (rec.BookMark
= variantBookmark).
What happens is that 36 records are added to the database for the 35 records
and all information goes into the first of the 35. I have worked 3 days
trying to get the new data to link to the records in the subform with no
success. I am probably making a simple, stupid error, but I am clueless. I
am working with Access 2002.
Thanks for any help.
Jim Moore
The subform has 35 rows and I need to pick data elements that will not
conveniently fit within the subform - 5 of the 35 rows have distinctly
different information from one another. On a separate form, I have 5 sets
of Option Buttons corresponding to the appropriate rows - one set of option
buttons has a different shade background to indicate the appropriate set for
data entry. The form is working as desired BUT, I can't get the data to
link back to the correct row. The separate form is activated by a Option
Button on the Subform - the On Got Focus event which sets the colors of the
separate form. I set a bookmark when I enter the On Got Focus
(variantBookMark = rec.BookMark). Then, when I am ready to write
edit/update the collected data, I set the bookmark in reverse (rec.BookMark
= variantBookmark).
What happens is that 36 records are added to the database for the 35 records
and all information goes into the first of the 35. I have worked 3 days
trying to get the new data to link to the records in the subform with no
success. I am probably making a simple, stupid error, but I am clueless. I
am working with Access 2002.
Thanks for any help.
Jim Moore