I need to generate a report for employee salary sheet,im having all employee details(name,de sg, earns,deducts.. ....) in one DataSet, i need to display all fields in my dataset into report.
Important Note:In dataset i dono column names and no.of columns
I need to generate a report for employee salary sheet,im having all employee details(name,de sg, earns,deducts.. ....) in one DataSet, i need to display all fields in my dataset into report.
Important Note:In dataset i dono column names and no.of columns
thanks,
Aswath.
Design your crystal report by using database table(from which you retrieve data and store into dataset) during design.
Then you just populate your dataset to your crystal report. Set reportsource/datasource property of crystal report to dataset.
I can't design CR at Design time,bcuz at runtime the fields may change/add/delete so im generating report using formula fields and parameter fields, here im fixing some 40 fields at design time and at runtime im assigning values to those formula fields (for ex 25 fields in my DS and remaining 15 im supperssing), Up to here its ok but now im getting an error" Interopservice COMException(): Invalid synatx"
I can't design CR at Design time,bcuz at runtime the fields may change/add/delete so im generating report using formula fields and parameter fields, here im fixing some 40 fields at design time and at runtime im assigning values to those formula fields (for ex 25 fields in my DS and remaining 15 im supperssing), Up to here its ok but now im getting an error" Interopservice COMException(): Invalid synatx"
Any help Plz...........
thanks,
Aswath.
I couldn't predict why the error was coming in your application. You may used invalid syntax in your crystal report.
Please check your crystal report and also ensure that your dataset contains all the needed fields.
Comment