Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

could crystal report start a new page

Status
Not open for further replies.

crystalamber

Programmer
Feb 1, 2007
31
SE
i now have the data as follows:
id name dept email
1 ** *** ****
2 ** *** ****
3 .
4 ** *** ****
5 ** *** ****
6 ** *** ****
7 .
8 ** *** ****

the stars mean any data, each record has different values, the crystal report could give me the above report, however, i want it to implement such function, i make some code and test if there is a dot that occupies the whole line(record), if it is, crystal report starts a new page for the records between this dot and the next dot, and continues in this fashion, my question is, could crystal report do it?


Any help will be appreciated!
 
Right click the details section and select section expert and select X2 next tonew page after and place:

instr(".",{table.field1}+{table.field2})>0

Placing all fields in the {table.field1}+{table.field2} area.

-k
 
Thank you very much, i got it.

Now i have another problem,
Actually, the report i have to design reads data from an xml file, i separate the data from three different pages(i set a special denotation in some row, then use the function "new page after"), the content of each page is separated by a label called<paragraph> in the xml file, however, each paragraph has its own title in the xml file(<paragraph>title_content</paragraph>),which means each page should have its own page title too, when i change one title, the titles of the other two pages are also changed, how could i implement it and make each page has its own title?

Any help will be appreciated!
 
I added more to your other post...

Please don't post in multiple forums...

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top