Baldrick
11-27-2001, 04:50 AM
I have a form (frmAttendeeProjects) with a subform (subAttendeeProjects). The subform displays multiple projects linked to the Attendee on the main form. They are linked by the "Atten_ID" field.
I am trying to create a combo box on the main form to scroll through a sorted list of Attendees, using a macro. The first part of my macro is "GoToControl" and the control name is "Atten_ID". The second part is "FindRecord" with Find What set to "=[Forms]![frmAttendeeProjects]![Atten_ID]". This occurs on the OnClick event of the combobox. I then have a macro to Requery the combo box on "GotFocus"
When I click the combo box I get my data just fine. But when i try and select a value from the list I get a message that says, "Control can't be edited. It's bound to AutoNumber field 'Atten_ID'".
What am I doing wrong?
I am trying to create a combo box on the main form to scroll through a sorted list of Attendees, using a macro. The first part of my macro is "GoToControl" and the control name is "Atten_ID". The second part is "FindRecord" with Find What set to "=[Forms]![frmAttendeeProjects]![Atten_ID]". This occurs on the OnClick event of the combobox. I then have a macro to Requery the combo box on "GotFocus"
When I click the combo box I get my data just fine. But when i try and select a value from the list I get a message that says, "Control can't be edited. It's bound to AutoNumber field 'Atten_ID'".
What am I doing wrong?