I have a simple report with one subreport. The subreport does not display any records at the customer site, although it works fine on my computer.
The main report is selected against the Sites table on the Sites.ProfacNumber field.
The subreport's name is HazMaterials.
Its parameter field is PM-Sites.ProfacNumber. The edit box shows a value type of string and discrete values are allowed.
In the VB code which calls the report the HazMaterials subreport is advised of the location of the database by this code in the frmViewer.Form_Load procedure:
This is a .dsr, Crystal Reports 8, Microsoft Access97 database, VB 6 development language.
What am I missing or what is not getting picked up? Do I have to feed the HazMaterials report something more?
Regards - Miles Thompson
The main report is selected against the Sites table on the Sites.ProfacNumber field.
The subreport's name is HazMaterials.
Its parameter field is PM-Sites.ProfacNumber. The edit box shows a value type of string and discrete values are allowed.
In the VB code which calls the report the HazMaterials subreport is advised of the location of the database by this code in the frmViewer.Form_Load procedure:
Code:
Set crxSubreport = Report.OpenSubreport("HazMaterials")
For Each crxDatabaseTable In crxSubreport.Database.Tables
crxDatabaseTable.Location = sPathFPPM
Next crxDatabaseTable
This is a .dsr, Crystal Reports 8, Microsoft Access97 database, VB 6 development language.
What am I missing or what is not getting picked up? Do I have to feed the HazMaterials report something more?
Regards - Miles Thompson