Mike Yearwood
Toronto, Ontario, Canada
Information générale
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Network:
Windows 2008 Server
>I actually declared the variables within the loop, and that did the trick.
>>
>>Have you tried defining these variables as private before the loop? I think I did see similar problems before and you can either use private variables or form's properties if the first idea will not work.
weiltemp.prg
LOCAL lcuid, lcsurname,lnRec
USE members
SCAN
lcuid = uid
lcsurname = surname
lnrec=RECNO()
REPORT FORM weiltemp NEXT 1 PREVIEW
SET STEP ON
GO m.lnrec
ENDSCAN
The variables are not disappearing at the SET STEP ON, nor anywhere else. I declared them LOCAL before the loop and populated them in the loop.
I'd want to know why it fails, if I were you.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement