A
Alex
Hi Wizards,
Here is my question. Can I filter the records on subform
or the only message I will get:
"impossible...because the form or report isn't bound to
the table or query"?
I have the form with dates on the calendar and subform
with the date corresponding to some particular date.These
two forms (main and sub) do not have any bounded fields.
I would like to click on the date on the form and see all
corresponding data for that particular date displayed on
subform. What I have done:
(FilterforSubform - is the field for filtering;
PickupDate - the field in subform for filtering)
Me!FilterforSubform = Date
DoCmd.GoToControl "sub_Calendar"
DoCmd.ApplyFilter , "PickupDate" = Forms!frmCalendarLV!
FilterforSubform
DoCmd.RepaintObject acForm, "frmCalendarLV"
I keep getting the message above:'The action or method is
invalid because..the form or report isn't bound to the
table or query'.
Note: subform is bounded to the table.
Your help, Wizards, will be very much appreciated..
Thank you.
Here is my question. Can I filter the records on subform
or the only message I will get:
"impossible...because the form or report isn't bound to
the table or query"?
I have the form with dates on the calendar and subform
with the date corresponding to some particular date.These
two forms (main and sub) do not have any bounded fields.
I would like to click on the date on the form and see all
corresponding data for that particular date displayed on
subform. What I have done:
(FilterforSubform - is the field for filtering;
PickupDate - the field in subform for filtering)
Me!FilterforSubform = Date
DoCmd.GoToControl "sub_Calendar"
DoCmd.ApplyFilter , "PickupDate" = Forms!frmCalendarLV!
FilterforSubform
DoCmd.RepaintObject acForm, "frmCalendarLV"
I keep getting the message above:'The action or method is
invalid because..the form or report isn't bound to the
table or query'.
Note: subform is bounded to the table.
Your help, Wizards, will be very much appreciated..
Thank you.