PDA

Click to See Complete Forum and Search --> : err " this field name is not known " made me craze !!


xray
Sep 24th, 2008, 02:45 AM
hi there

when i try to preview the report on the crystal viewer :

first when i try to get all the data from the table it's work ok .. but when i try to made critirya with this code it's rase an err
this field name is not known

the code that used in critirya :


report_for = "micro"
report.RecordSelectionFormula = "{company_info.company_name}='" + report_for + "'"



how to solve this case coz it's working for one time only and then the error rase > how come !!!

thanks