I would like to use Time() in an object (Invoice Number) to generate a number, but every time I open a "saved" pdf, the Invoice number changes or Updates because the Time(). This is normal. I have been trying to insert an if statement to test the object and insert Time() if the object is empty (new Invoice) or not (not empty) as when the invoice is stored to record a sale.
This is my guess but does not work!
Europe, Middle East and Africa