Originally posted by BrianBischof
Yes, that is correct. However, what I don't know how to tell you is the way to do this in VB6. In VB.NET I would do it by creating a new DataSet object (an in-memory table), what I called Table C, and after it is populated I would pass that as the datasource to the report. Takes a bit of code, but nothing complex. In VB6 I don't know if you can create an in-memory table as use that as the datasource for a report.If VB6 can't do this, a couple other options are to make Table C as a CSV file that is created dynamically by VB6 and have CR report off of that. You could also do this using a stored procedure if you are a guru at using cursors and working with temporary tables.So you have a couple choices before you depending upon your skill set.
Hi..buddy Bischof,
Firstly, i gr8tly appreciate ur interest and consistency in helping me...THANX
I have changed it and will need ur asistance more now..
I have deleted that old report.
I made a new blank report and placed 2 sub-reports on the blank report.Each of these 2 sub-reports display records of the 2 unrelated tables..as I wanted it to work...but this is in crystal report 11 product only.
Now how do I do it in VB6 code ?
For my other reports that were being generated, I had a VB Form having a "View Report" button which would at runtime generate the reports.
But now I am tackling the issue of sub-reports and have no knowledge of the vb6 code that is required with sub-reports.
Normally, for the other reports, I was using the ".SQLQueryString" prop to feed-in the SQL statement in VB6 code. But how do I do it now. I mean to say there's a new way I guess to work it out with sub-reports..Can someone throw light on this..
Awaiting the crystally replies...