Hey all--
I've got an embarrassingly simple project to complete in Access that's making me feel like a real dummy. I hope you can help.
I'm trying to use two tables in a form/subform setup to allow users to look up and change records in the subform's table. The parent table is a list of managers; the subform table is a list of payments made by those managers to consultants. I'd like to allow each manager to look up payments made by themselves in the subform table and make changes to those payments.
I've tried setting up a form/subform linking on the manager name in each table, and it works fine in terms of bringing up the right records in the subform. But changing the entry in the main form, while it brings up the right list of records, also changes the DATA in the first row of the subform table so that the manager name is what was selected in the drop-down box. This changes the first row of data in the subform table, regardless of who the manager for that payment is, so it's introducing errors into my data.
This occurs even when the subform is set to read-only. Setting the whole form to read-only doesn't allow a manager name to be selected from the combo box at all.
What am I doing wrong here? Help!
Heather
P.S. If it makes any difference, the database is in Access 2000 operating in a Windows 2000 environment, though I'm replicating the same errors with the same database on my Office 2003/Windows XP machine.
I've got an embarrassingly simple project to complete in Access that's making me feel like a real dummy. I hope you can help.
I'm trying to use two tables in a form/subform setup to allow users to look up and change records in the subform's table. The parent table is a list of managers; the subform table is a list of payments made by those managers to consultants. I'd like to allow each manager to look up payments made by themselves in the subform table and make changes to those payments.
I've tried setting up a form/subform linking on the manager name in each table, and it works fine in terms of bringing up the right records in the subform. But changing the entry in the main form, while it brings up the right list of records, also changes the DATA in the first row of the subform table so that the manager name is what was selected in the drop-down box. This changes the first row of data in the subform table, regardless of who the manager for that payment is, so it's introducing errors into my data.
This occurs even when the subform is set to read-only. Setting the whole form to read-only doesn't allow a manager name to be selected from the combo box at all.
What am I doing wrong here? Help!
Heather
P.S. If it makes any difference, the database is in Access 2000 operating in a Windows 2000 environment, though I'm replicating the same errors with the same database on my Office 2003/Windows XP machine.