Let me see if I fully understand the issue right now: 1) You can run the function to import the lines. After import you can manually show the pdf file with the ShowPDF function. 2) If you run the function directly, in the context of the import function, then it the PDF field shows as having no data? And if it fails to show, then you can still show it manually after? If that is correct, then I understand that you are puzzled. Me too. You have showed a lot of your code. But where do you actually sets the value of the showpdfclient pdf blob field? Also looking at the code in the reply above, then where did you GET the ShowPDFClient record. After you get it, then before HASVALUE, did you CALCFIELDS(PDF) first?
↧