Goran Level: Moderator Registered: 16-05-2002 Posts: 1681
Re: Between Dates
should be something like this
rpt.ReportSelectionFormula="{TableName.DateField}>#1/1/05# And {TableName.DateField}<#31/1/05#"
____________________________
If you find the answer helpful, please mark this topic as solved.
21-07-2005 at 04:25 PM
|
TJ_01 Level: VB Lord Registered: 24-08-2005 Posts: 320
Re: Between Dates
Just adding to GOran's comments:
sel = "{<Tblname>.<FieldNAme>}in date (" & Text1.Text & ") to date (" & Text2.Text & ")"
CReportDailyApp.SelectionFormula = sel
CReportDailyApp.Action = 1