Hi Ludek,
using CrystalDecisions.CrystalReports.Engine;
I tried your method using the example:
rep.RecordSelectionFormula = "species.speciesID = MON";
Got error message.
Tried it with single quotes inside double quotes and got the same message.
rep.RecordSelectionFormula = "species.speciesID =' MON'";
John