Record selectionf formula for date
How can I write recordselectionfomula for date field. I pull out a month from datadropdown list and I want the result for that particular month.
Trying to figure out how to set command.maildate=selected month.
maill date is a sql date field.
Session.Item("rs") = "{Command.maildate}=" & mnth
If ddlmonth.SelectedIndex <> -1 Then
Dim mnth As Int16 = ddlmonth.SelectedItem.Value
Session.Item("rs") = "{Command.maildate}=" & mnth
exportrpt.DataDefinition.RecordSelectionFormula =Session.Item("rs")
End If
|