>I created on the invoice form, a property runnedForm (value=.null.)
>
>on the Save:
>
>wait wind ISNULL(thisform.runnedForm)
>IF ISNULL(thisform.runnedForm)
> do form ledger with acct,acctid NAME thisform.runnedForm
>ENDIF
>
>But it is still loopin.
>so I added
>wait wind ISNULL(thisform.runnedForm)
>to check, and thisform.runnedForm always .T.
>
>am I missing something?
Off the top of my head...
wait wind ISNULL(thisform.runnedForm)
IF ISNULL(thisform.runnedForm)
do form ledger with acct,acctid NAME thisform.runnedForm linked
else
thisform.runnedForm.show()
ENDIF