L
lynn atkinson
I am trying to display the number of places booked on a course on a form. I
am using the following Dcount statement
=DCount("[status]","bookings","[event ID]=" &
[Forms]![multiplebookingsubfrm]![event ID] & "AND [status] IN
('booked','provisional')")
When I view the subform directly ie open multiplebookingsubfrm
I see the result OK. However when I view the data as a subform in situ in
the main form the control displays #Name?.
What do I need to do to make it display correctly on the form?
cheers
am using the following Dcount statement
=DCount("[status]","bookings","[event ID]=" &
[Forms]![multiplebookingsubfrm]![event ID] & "AND [status] IN
('booked','provisional')")
When I view the subform directly ie open multiplebookingsubfrm
I see the result OK. However when I view the data as a subform in situ in
the main form the control displays #Name?.
What do I need to do to make it display correctly on the form?
cheers