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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

page number problem

Status
Not open for further replies.

dynamicjourney2001

Programmer
May 15, 2003
30
US
Hi,

well here's the setup. I have a main datawindow that holds a nested dw wherein i supply the page of each row(thru script- scrolltorow and setitem method) that are in main dw(main and the nested have identical sql- so this nested is like a table of contents for the main datawindow).
The problem is, that when I have a row (row A) that has a wordwrap(FYI- undocumented sybase workaround of wordwrapping, dlls that are declared as external functions) and that the last page on that row has with it other rows (rows b and c) in same page, it seems that the rownumber for that row A is also applied to rows b and c. eg.

Table of contents
topic page number
1.Row a 5
2.Row b 5
3.Row c 5


when its suppose to be:

Table of contents
topic page number
1.Row a 5
2.Row b 7
3.Row c 7

where row a ended in page 7, and rows b and c are also in page 7 right after the end of row a.



But when I remove that last part of row A in page 7 (remove meaning, I shortened the data) it works well.

Can anyone enlighten me on this.

Thanks in advance.

Have fun!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top