PDF overwriting previous PDF

[Closed]
Report
Posts
1311
Registration date
Thursday July 24, 2014
Status
Moderator
Last seen
July 28, 2021
-
Posts
1311
Registration date
Thursday July 24, 2014
Status
Moderator
Last seen
July 28, 2021
-
Hello fellow Kioskeans,

When I generate an invoice from my invoice template, it is automatically saved to an "Invoice" folder as a pdf.
However, I have noticed that if the invoice has exactly the same client name (I have a number of repeat customers), the newest invoice overwrites the previous one in the same name once saved as a pdf. I have tried to create a Rename File message box giving me the option of renaming the newest invoice file from, say, "aaa.pdf" to "aaax.pdf" prior to saving it.
I tried to create a message box with the question: "Do you want to rename "aaa.pdf" to "aaax.pdf"? and the notification "There already is a file with the same name in this location" with a YES/NO option button.
However, I have not succeeded with the message box and I'm running out of hair!!

Does anyone have any ideas?

Thanks in advance.
Cheers,
vcoolio.




2 replies

Posts
19532
Registration date
Wednesday October 8, 2008
Status
Contributor
Last seen
June 15, 2019
1,858
So what software package are you using?
Posts
1311
Registration date
Thursday July 24, 2014
Status
Moderator
Last seen
July 28, 2021
232
Hello xpcman,

Thanks for the reply.
No software package. I've created all my own templates etc in Excel using macros for various purposes.

Cheers,
vcoolio.

Subscribe To Our Newsletter!

The Best of CCM in Your Inbox

Subscribe To Our Newsletter!