Printing text from memo fields

78 views
Skip to first unread message

Michael Green

unread,
Nov 22, 2022, 8:23:48 AM11/22/22
to Harbour Users
With help from Anand Gupta (thank you sir!), I've found out how to paste text into
memo fields. Now I need help printing the text. So, what are the best ways to print a memo field? Advice plz. Thanks in advance.

Michael Green

unread,
Nov 24, 2022, 12:34:06 PM11/24/22
to Harbour Users
Solved. I used memoline() like this (the memo field is called notes):
   
go recprnv && the record with the text I want to view
clear screen
store 1 to linev
do while linev < 25
      @ linev,1 say memoline(notes, 80, linev)
      store linev+1 to linev
enddo && while linev < 25
 
Key words: view print memo field 

fdaniele

unread,
Nov 24, 2022, 12:36:16 PM11/24/22
to Harbour Users
wow, beautiful solution !!
Reply all
Reply to author
Forward
0 new messages