Hi,

Can the VB6 Data Report Designer run if it has no data source?

What I'm trying to do is to display and then print a report with values that were entered and or calculated that are held in some text boxes on my main form.

In the main form module this doesn't seem to work:

rptMyReport.text1.text = txtName.text

I get an object or method not defined error.

Nor this in the Data Report Initialize event:

text1.text = frmMain.txtName.text

I get an object required error.

I imagine I can write the data to a text file, but can the Data Report Designer use a text file as a data source? Hell, can the Crystal Report Component? If they can I'm having trouble figuring how to connect them.

Thanks in advance for any help.

Regards,
Jack Vinitsky