Hi
I have a main form with a subform. The mainform has 2 textboxs Starting date and ending date. These are for the user to select a date range, and then clicka button to filter the subform to view only records that are in the date range. This DB is in Access 2007. I have tried appling filter with a saved query I have also tried the folloing code. Any ideas
Thanks
I have a main form with a subform. The mainform has 2 textboxs Starting date and ending date. These are for the user to select a date range, and then clicka button to filter the subform to view only records that are in the date range. This DB is in Access 2007. I have tried appling filter with a saved query I have also tried the folloing code. Any ideas
Thanks
Code:
Private Sub Command111_Click() Me!tbl_leasefllwup.Filter = "fllupdate = between me!start and me!end" Me!tbl_leasefllwup.FilterOn = True End Sub
Comment