Hi All,
I have added an invoice API to my app and as the invoice header relates to child records I have added a reference to those Q's
One of those Q's is a Files Q which holds a base64 encoded copy of a PDF of the invoice so there is a string reference to it.
I'm trying to dispose of these types as follows but I get a GPF.
Loop I# = 1 TO Records(QInvoice)
Get(QInvoice,I#)
If ErrorCode()
Break
END
DISPOSE(QInvoice.Files.File)
DISPOSE(QINV:CostItem)
DISPOSE(QINV:Files)
END
If I remove DISPOSE(QInvoice.Files.File)
it does not GPF but just hangs my web server.
Anyone know the correct way to use Dispose in this circumstance?
Cheers,
Kevin
[attachment deleted by admin]