After going through the Knowledgebase, I am still stumped I have a Crystal Reports that pulls information from a SQL 2008 database. In an application that is written using VB.NET 2008 I am trying to filter the report so that it will show a user specificied record instead of all the records.
Below is the code in question. Instead of applying the filter, I am still seeing all the records.
If sSelectionFormula.Length > 0 Then
'objReport.RecordSelectionFormula = sSelectionFormula
objReport.DataDefinition.RecordSelectionFormula = sSelectionFormula