I have the below code which works great. I would like to make an addition to this code where it will pull up all of the accounts if no date is entered into the startdate/enddate text boxes. I know I need to add the * somewhere, but not sure where.
Thanks in advance.
DoCmd.OpenReport "rptAgedbyAssociate", acViewPreview, , "FollowUpDate >= #" & Me.StartDate3 & "# And FollowUpDate <= #" & Me.EndDate3 & "# And Associate Like '*" & Me.assocbox1.Column(1) & "'"
Thanks in advance.
DoCmd.OpenReport "rptAgedbyAssociate", acViewPreview, , "FollowUpDate >= #" & Me.StartDate3 & "# And FollowUpDate <= #" & Me.EndDate3 & "# And Associate Like '*" & Me.assocbox1.Column(1) & "'"