Click to See Complete Forum and Search --> : Crystal Reports 7.0


oviyansriram
May 27th, 2009, 10:08 PM
I am new to crystal reports 7.0. i tried to include the reports in my vb6 program. it displays. but i want to do selection. i tried
rptCf.RecordSelectionFormula = "{BuyerConfirmation.ConCode}=4"
but if doesn't work. it always displays 2nd record. if i delete that 2nd record, the report shows only the text objects(labels), no database fields.
how to use recordselectionformula?

jggtz
May 28th, 2009, 10:28 PM
Try (If you are using OCX and if the field is numeric):

rptCf.SelectionFormula = "{BuyerConfirmation.ConCode}=4"