Home > Archive > dBASE Reports > April 2005 > Need Help in paging...









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Need Help in paging...
Mickey Cheong

2005-04-26, 7:23 am

Hi, I think I may sound stupid but I need some help in the paging area. I'm now writing a medical report program hence this report will consist of two parts, the patient's information and the report content.

My problem arise when my report content might require more than one page. I do not know how to do it. As in my report content is a memo field in the table hence when load in the report it will lengthen all the way. Is there a way where i can chop it and r
esume in another page and also I wanted all the informationto remain the same like the layout and the patient info etc. What I need is a paging method where the report knows where to cut it sort and resume on the other page. Can help? Thanks.

Regards,
Mickey
Marc Hamelin

2005-04-26, 7:23 am

> My problem arise when my report content might require more than one
> page. I do not know how to do it. As in my report content is a memo
> field in the table hence when load in the report it will lengthen all
> the way. Is there a way where i can chop it and resume in another
> page and also I wanted all the informationto remain the same like the
> layout and the patient info etc. What I need is a paging method where
> the report knows where to cut it sort and resume on the other page.
> Can help? Thanks.


Well, I'm not sure what you want exactly, but you could reduce the size of
your StreamFrame, which would trigger the rendering of a new page when it
reaches the end of it.

Depending on what you want to do, maybe it would be better if you'd use
either the beginNewFrame() method or the beginNewFrame property. Take a
look at those two in the help.

Marc Hamelin


Ken Mayer [dBVIPS]

2005-04-26, 7:23 am

Mickey Cheong wrote:
> Hi, I think I may sound stupid but I need some help in the paging
> area. I'm now writing a medical report program hence this report will
> consist of two parts, the patient's information and the report
> content.
>
> My problem arise when my report content might require more than one
> page. I do not know how to do it. As in my report content is a memo
> field in the table hence when load in the report it will lengthen all
> the way. Is there a way where i can chop it and resume in another
> page and also I wanted all the informationto remain the same like the
> layout and the patient info etc. What I need is a paging method where
> the report knows where to cut it sort and resume on the other page.


This is a weekness of the report designer. About all I can suggest is
two separate reports.

Ken

--
/(Opinions expressed are purely my own, not those of dataBased
Intelligence, Inc.)/

*Ken Mayer* [dBVIPS]
/Golden Stag Productions/
dBASE at goldenstag dot net
http://www.goldenstag.net/GSP
http://www.goldenstag.net/dbase
Marc Hamelin

2005-04-26, 1:23 pm

Forget what I said, I reread your question and realized that my solution
won't work. It won't split a memo field in two. Sorry. I've never really
been able to do that...

Marc Hamelin


Rick Miller

2005-04-26, 8:24 pm

Hello Mickey,

Mickey Cheong <mickeyckm@gmail.com> wrote in
news:g5GV2gkSFHA.1528@news-server:

> My problem arise when my report content might require more than
> one page. I do not know how to do it. As in my report content is a
> memo field in the table hence when load in the report it will
> lengthen all the way. Is there a way where i can chop it and
> resume in another page and also I wanted all the informationto
> remain the same like the layout and the patient info etc. What I
> need is a paging method where the report knows where to cut it
> sort and resume on the other page. Can help? Thanks.
>

----

1 way is to use a temp table for the content.
add 1 record for each line in the memo field.

Just an idea that I have used before,
Rick Miller
Mickey Cheong

2005-04-27, 3:24 am

Hi everyone, I found a solution, like what Marc had said just reduce the size of the steamframe to the size of the text, once it is over flow, it will go to the second page with all the templates retains. :) Cheers Thanks for all the help. Very grateful t
o you guys. I cant imagine me start programming dbase only after a week or two learning it :)
Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com