blank message pop up when run a crystal report

I created a report using crystal report 8.5 and also created a corresponding ..def file. when I go back to Headmanager and try to run it, a blank message was displayed. don't know what's this mean and what is the problem, anybody can help?

Reply to
kenny
Loading thread data ...

Kenny,

Double check your GroupCount, TableCount, and VisibleSectionName, make sure they contain the correct values.

GroupCount: The number of group sections that are in the report, not including the detail section. TableCount: The number of tables that are used in the report. VisibleSectionName: The name of each section that you want to display on the report.

For example, this could appear as follows: VisibleSectionName = DETAIL * VisibleSectionName = GH2 VisibleSectionName = GH1 VisibleSectionName = GF2

  • DETAIL indicates the detail, GH1 indicates the header section for group 1, and GF1 indicates the footer section for group 1.

Rob

Reply to
Rob

Thanks Rob for your response.

I double checked these values as you mentioned, but what ever values I set, I still got a blank message.

In my application, I only used one table which is "AccountReceivable" and put several fields to the Detail section. (just for test) There is no group and other complex things inside. My setting in .def is:

Filename = test1.rpt Description = test1 HelpContextID = 0 GroupCount = 0 TableCount = 1 VisibleSectionName = DETAIL

I checked the other reports that are attached with the RMS, they makes me confuse. For example, in labels report, only one table is used, but in the corresponding .def file, it set TableCount = 2 and no VisibleSectionName at all. In Customer report, 5 tables are used, and the setting is TableCount = 5.

Anyway I tried 1 and 2 for tablecount, and also tried to get rid of the VisibleSectionName = DETAIL, but all the changes still gave me a blank message.

Thanks!

Reply to
kenny

Kenny,

Did you include the SelectionCriteria and the SortOrder fields in your report header and add the 2 lines below to your def file?

; Description Field Name Type Level Crit. G.T. # ; --------------- ----------------------------- ---- ----- ------ ------ FIELD = None, {@None}, 0, 2,

0, 0 FIELD = None, {@None}, 0, 4, 0, 0

If not, create 2 custom Formula fields and place them in the Report Header. A. Name: SelectionCriteria, Formula: "None" B. Name: SortOrder, Formula: "None" Include the quotation marks in your formula

Rob

Reply to
Rob

It's working! Thanks, Rob

There are something I still don't understand. I get rid of SelectionCriteria and SortOrder fields from my report and then RMS gives me a blank message again, it seems to me that these two fields are compulsory, you must put them somewhere in the report though actually you may not need them. But in Labels.rpt there are no these two fields while it still works very well. Don't know what's the reason.

Thanks again for your help.

Reply to
kenny

BeanSmart website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.