Hi,
how do I do a selection statement in VB with a date range for Crystal?
I have StartDateBox.value and EndDateBox.value, 2 date time values in VB6.
I need to select based on those values
basicly
I know I need to format the date values etc, I just can not get it right.
thanks for any help
mark
how do I do a selection statement in VB with a date range for Crystal?
I have StartDateBox.value and EndDateBox.value, 2 date time values in VB6.
I need to select based on those values
basicly
Code:
report1.RecordSelectionFormula = "{MyTable.tstamp}=> '" & StartDateBox.value & "' AND {MyTable.tstamp}<= '" & EndDateBox.value & "'"
I know I need to format the date values etc, I just can not get it right.
thanks for any help
mark