How is the easiest / best way to accomplish this, I have a database w/many reports. These reports all have a time frame range on them. ="Covers Awarded from " & [Forms]![TimeFrame]![tBeginDate] & " to " & [Forms]![TimeFrame]![tEndDate]. Problem is if the user doesn't select a time frame. How could I set a default tBeginDate and tEndDate? The database opens on a switchboard, so I put the
Me!tBeginDate = DateAdd("d", -1030, Date)
Me!tEndDate = DateAdd("d", 1030, Date)
which doesn't work. How would I declare/create/whatever a startdate and an ending date?
Help would be greatly appreciated.
Me!tBeginDate = DateAdd("d", -1030, Date)
Me!tEndDate = DateAdd("d", 1030, Date)
which doesn't work. How would I declare/create/whatever a startdate and an ending date?
Help would be greatly appreciated.