whenthegeeseinvade
Registered User.
- Local time
- Today, 15:02
- Joined
- Nov 12, 2008
- Messages
- 39
Hi everyone.
I have a main form and subform, both displayed as datasheets.
For each record in the main form, the subform contains a number of records, each with a date field. I want to show the Max(Date) field from each subform in a text box on the main form.
I have tried putting a Max(Date) textbox in the subform and then referencing this in the main form but I keep getting #Error in each of the main form records that refers to the Max(Date) field until I expand the subform.
How can I ensure that the main form reads the calculated field from each subform without this problem?
Thanks very much for any help.
Laurence
I have a main form and subform, both displayed as datasheets.
For each record in the main form, the subform contains a number of records, each with a date field. I want to show the Max(Date) field from each subform in a text box on the main form.
I have tried putting a Max(Date) textbox in the subform and then referencing this in the main form but I keep getting #Error in each of the main form records that refers to the Max(Date) field until I expand the subform.
How can I ensure that the main form reads the calculated field from each subform without this problem?
Thanks very much for any help.
Laurence