Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Absolute, relative positioning in vfp9 report writer
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP1
Network:
Novell 6.x
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01169014
Message ID:
01173106
Views:
8
Cathy
I went through your articles, but decided, due to time constraints, to use the first solution you suggested to force x number of lines in the first check stub to establish absolute positioning. The expandable memo field was not a problem, using memlines, I just added the numnber of lines in each memo field to the lines in the stub then added the dummy lines:
linesForThisVend = 0
DO WHILE curChecks.vendCode = vendSave
   IF !EMPTY(curChecks.miscDesc) AND curChecks.ChkFormPK = 2  && Misc format
      STORE MEMLINES(miscDesc) TO linesInMemo
      linesForThisVend = linesForThisVend + linesInMemo
   ELSE 
      linesForThisVend = LinesForThisVend + 1
   ENDIF
   SKIP 1 IN curChecks
ENDDO 
recNoAfterCount = RECNO('curChecks')
FOR i = 1 TO 10 - linesForThisVend
    APPEND BLANK IN curChecks
    replace curchecks.dummyRec WITH "D"
    REPLACE curchecks.vendCode WITH vendSave
    REPLACE curchecks.vendInv WITH vendInv
NEXT i
GO recNoAfterCount IN curChecks
I need to learn more about reportListeners, but that needs to be postponed until a later date when time permits.

thanks, vince
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform