Do i need to set a selection formula in crystal reports or can I just set it thought vb code?
For exaple,
crReport.RecordSelectionFormula = "{MyTable.Id}='" & frmMine.txtId & "'"

...or how should I set this same formula in crystal reports?