I'm currently using Crystal Reports 10. I have a report where the RecordSelectionFormula is set to:

Code:
crDOC.RecordSelectionFormula = "Select * From tblBatchDetail Where rowID = " & mRowID
I get the following error message when this statement is executed. Please see attached screen print. Can I have my statement in a format such as this?

Thanks,