Hello,
I have a report i call to open but i would like to to only show items that are <= a numerical value that is entered before the form loads. Im trying to sort the days remaining field on the report by the value of the dtotext field. Ive tried various things, but nothing seems to work I either get nothing or all results or errors
The dtotext is the text field on the form the user enters a number default value is 360
Private Sub reportbtn_Click()
DoCmd.OpenReport "itemcheck", acViewReport, , "[days remaining] <= 'me.dtotext'"
End Sub
Thanks in advance for your help.
Rob
I have a report i call to open but i would like to to only show items that are <= a numerical value that is entered before the form loads. Im trying to sort the days remaining field on the report by the value of the dtotext field. Ive tried various things, but nothing seems to work I either get nothing or all results or errors
The dtotext is the text field on the form the user enters a number default value is 360
Private Sub reportbtn_Click()
DoCmd.OpenReport "itemcheck", acViewReport, , "[days remaining] <= 'me.dtotext'"
End Sub
Thanks in advance for your help.
Rob