I posted a problem a week ago and no one has answered my post. My project is on hold until someone from C1 can answer my question regarding using a business object created in .net as a record source. Crystal Reports can handle this situation easily. Why can't C1 reports?
I am trying to create a c1Report based on a business object.
I have tried the following:
dim open_timesheets as list(of Open_Timesheets) = Open_TimesheetsDB.GetList 'populates a list of timesheets
dim rs as IC1ReportRecordset = ctype(open_timesheets,IC1ReportRecordset)
c1report1.datasource.recordset = rs
I receive the following error at the dim statement:
Unable to cast object of type system.collections.generic.list 'ST_Classes.Open_Timesheets' to type 'C1.Win.C1Report.UCreportRecordset'
How can I base my report on a dataobject like this? I have tried everything I could think of to make this work... Examples would be fantastic! Thanks in advance! Ken