Dinah Beres
Registered User.
- Local time
- Today, 06:11
- Joined
- Nov 4, 2003
- Messages
- 17
I am an Access beginner trying to get up to speed.
I have a form (Person data) with subform (task data)
I need to be able to (1) create and (2) delete task records on the subform.
I used DoCmd.RunCommand acCmdDeleteRecord successfully on the Person form. This doesn't work on the subform.
I have not been able to find a method that will create a new record.
(3) I have a double combo box search above the task subform. The first combo box correctly allows the user to select the person, and the second combo box does correctly present the task version numbers for that person. However it presents the version number from EVERY task. A test record has 3 tasks in version 1, 2 in version 2, and 5 in version 3, resulting in the 2nd combo box presenting the user with 1,1,1,2,2,3,3,3,3,3 instead of 1,2,3
How do I get it to select DISTINCT?
Any suggestions would be gratefullly appreciated.
I have a form (Person data) with subform (task data)
I need to be able to (1) create and (2) delete task records on the subform.
I used DoCmd.RunCommand acCmdDeleteRecord successfully on the Person form. This doesn't work on the subform.
I have not been able to find a method that will create a new record.
(3) I have a double combo box search above the task subform. The first combo box correctly allows the user to select the person, and the second combo box does correctly present the task version numbers for that person. However it presents the version number from EVERY task. A test record has 3 tasks in version 1, 2 in version 2, and 5 in version 3, resulting in the 2nd combo box presenting the user with 1,1,1,2,2,3,3,3,3,3 instead of 1,2,3
How do I get it to select DISTINCT?
Any suggestions would be gratefullly appreciated.