Memo printing

GCC Consulting gcc at optonline.net
Thu Oct 21 18:34:28 PDT 2004


This is most likely a Ken question.

I have not had a complete opportunity to test all aspects of memo printing.

Here is my question:

Suppose that one needed to print a memo at a sub total break and that memo (COMMENT OR INSTRUCTION) was in another file.

If the current file has a memo field defined
	1. could a lookup be done at the break to the file containing the memo and the looked up memo field be inserted into 	   the current(last) record memo field?
	2. could the memo then be printed at the sub-total?
	3. after printing, be deleted?

Processing would be similar to this.

 1  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
@brk1 ◄ If: '******************************************
      Then: '* print sub total and instructions
 2  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
      ◄ If:
      Then: lookup comments  k=9    i=a -nx
 3  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
      ◄ If:         NOT comments
      Then:         f="1";GOTO next
 4  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
      ◄ If:         'copy in the instructions
      Then:         2=comments(2)
  5  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
next   ◄ If:         f = "1"
       Then:         Print;END
  6  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
       ◄ If:
       Then: PRINT
  7  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
       ◄ If:
       Then: memo 2 delete
  8  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
       ◄ If:
       Then: END

Richard Kreiss
GCC Consulting 




More information about the Filepro-list mailing list