hi. i hope you could help me with this problem.
the data i will be needing to show is from my vb program and not from the database. on the crystal report, it should look something like this.
name amount
betty 200
cristina 345
daniel 230
preston 300
but the number of list of names and amounts varies. depend on what is entered on an unbound grid in the vb program.
thanks for any help you could extend.the VB program could be modified to pass the data, but, if it isn't stored somewhere, how would CR know about it?|||oh sorry, it is temporarily stored on a data grid.|||You could try to get data from tables in your VB program and store it to a data set, then you could send this data to your CR, where you have to tell the CR which tables you are using.
If you forget to get data from any table you are triing to show in CR the report won't work.
something like this:
dim cr as dataset
dim X as new crX
dim Y as ReportForm
x.SetDataSource(cr)
Y=new ReportForm(x)
where cr is the dataset where you have all tables you are triing to show.
hope this will help|||i'll try that one. thanks a lot.|||i already made a dataset with three tables. but when i try to set it as the data source for the crystal report, it says that the report does not have tables.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment