>> How do I print the detail line twice?<<

What I do is create a cursor after I have the reporting cursor ready:

LOCAL lnI, ;
      lnDuplicateRecs

lnDuplicateRecs = 2

CREATE CURSOR curRecDuplicater ;
   (nCounter i)

FOR lnI = 1 TO lnDuplicateRecs
   INSERT INTO curRecDuplicater (nCounter) VALUES (lnI)
ENDFOR 

* Now create Cartesian product of the two cursors

SELECT curReport.* ;
  FROM curReport, curRecDuplicater
  ORDER BY <what makes sense> ;
  INTO CURSOR curReportFinal


Rick
White Light Computing, Inc.

www.whitelightcomputing.com
www.swfox.net
www.rickschummer.com



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/006c01cb5e48$f9a92820$ecfb78...@com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to