Solved

How do I include a form1.memo to my report and print it?

Posted on 1998-11-26
12
127 Views
Last Modified: 2010-04-04
I have one form and one one report.
On FORM1 i have a memo field and i want to print
that memo field on my report.

Thanks
0
Comment
Question by:waipahu
  • 7
  • 5
12 Comments
 
LVL 8

Accepted Solution

by:
ZifNab earned 10 total points
ID: 1347903
Hi waipahu,

use qrMemo1.Lines.Assign(Form1.Memo1);

Regards, Zif.
0
 

Author Comment

by:waipahu
ID: 1347904
THanks...it worked, however, only 1 line was copied and not the whole memo content.
Any clue why?
Thanks so much!
appreciate your quick response!
thanks

0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1347905
mmm, which version & subversion (letter) are you using?
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:waipahu
ID: 1347906
I'm using Delphi 3 Professional. build 5.83.
Maybe i need to do a loop and add 1 line at a time.

0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1347907
no, no need of Loop. I meant version of QR.
0
 

Author Comment

by:waipahu
ID: 1347908
how do i find out what version of quick report i have?
0
 

Author Comment

by:waipahu
ID: 1347909
quickreport 2.0

0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1347910
Hi waipahu,

I guess you work with QR version installed with Delphi?

Well, there are free upgrades on there web-page (and I guess you need them). http://www.qusoft.com/

latest 2.0 version is k.

Regards, Zif.
0
 

Author Comment

by:waipahu
ID: 1347911
quickreport 2.0

0
 

Author Comment

by:waipahu
ID: 1347912
Thanks..downloaded  k version and it works! thanks.
another question... in the memo field..is there a way to force users to press enter
to go to the next line? I don't want the lines to automatically wrap. i want the return
code at the end of each line.

thanks
0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1347913
set WordWrap to false. Regards, Zif.
0
 

Author Comment

by:waipahu
ID: 1347914
Thanks..downloaded  k version and it works! thanks.
another question... in the memo field..is there a way to force users to press enter
to go to the next line? I don't want the lines to automatically wrap. i want the return
code at the end of each line.

thanks
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question