dynamicjourney2001
Programmer
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!
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!