BrettM
just a pert, "ex" to come
- Local time
- Today, 23:08
- Joined
- Apr 30, 2008
- Messages
- 134
Hi guys,
I would like to be able to manipulate data in a subform based on info in two controls on the main form. The Main form is unlinked. The two controls allow the selection of names and dates.
The subform is based on controls referencing a table laid out as follows...
I would like the subform info to change based on the date chosen (referencing ActiveDate) and also based on the name chosen (referencing Name). So if Monica is chosen on the user control main form, only two lines are potentially available (2 & 4) and by putting "11/08/2008" in the date control on the main form, only line 4 is referenced. Change the date to "4/08/2008" and the reference is now line 2.
If the date referenced is not already in the table then a new record is created.
I am having difficulty getting my head around this. Any ideas would be greatly appreciated.
Regards Brett
I would like to be able to manipulate data in a subform based on info in two controls on the main form. The Main form is unlinked. The two controls allow the selection of names and dates.
The subform is based on controls referencing a table laid out as follows...
I would like the subform info to change based on the date chosen (referencing ActiveDate) and also based on the name chosen (referencing Name). So if Monica is chosen on the user control main form, only two lines are potentially available (2 & 4) and by putting "11/08/2008" in the date control on the main form, only line 4 is referenced. Change the date to "4/08/2008" and the reference is now line 2.
If the date referenced is not already in the table then a new record is created.
I am having difficulty getting my head around this. Any ideas would be greatly appreciated.
Regards Brett