report loading blank when using register data
hi.
i want to load report from a dataset by using register data method.
so
1- i create a form
2- create a data source and
3-then add dataset"dataset1" component to form and connect it to a table"Table1" via design mode
4-add report component "report1" to form design
5-then go to report designer and add table to data source and complete report design
6-save report and
7-my code to show data in report is
report1.Load("report.frx");
report1.RegisterData(dataset1 ,"dataset1");
report1.show()
but when load report it show blank report.why?
plz help me
i want to load report from a dataset by using register data method.
so
1- i create a form
2- create a data source and
3-then add dataset"dataset1" component to form and connect it to a table"Table1" via design mode
4-add report component "report1" to form design
5-then go to report designer and add table to data source and complete report design
6-save report and
7-my code to show data in report is
report1.Load("report.frx");
report1.RegisterData(dataset1 ,"dataset1");
report1.show()
but when load report it show blank report.why?
plz help me
Comments
Please send me your report file (.frx).
i cant attach frx file because of this error when uploading file :"Upload failed. Please ask the administrator to check the settings and permissions"