Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Absolute, relative positioning in vfp9 report writer
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP1
Network:
Novell 6.x
Database:
Visual FoxPro
Divers
Thread ID:
01169014
Message ID:
01173106
Vues:
9
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform