Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5957 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi

How do I get filemaker to check if an invoice has been previously printed?

I’d like to add a custom message to my printing script.

The message would read something like “This invoice has been printed previously, do you wish to print it again”

I’m not sure if this question should be here or in the “calculation forum”

Thanks for the help.

Posted

Without knowing your structure it is hard to be specific but one approach would be to store (if not already stored somewhere) the invoice number for all invoices as they are printed.

In your invoice routine you could then do a find on that number and if it already exists (found count>0) give the appropriate message

hth

Phil

Posted

I'd make a "Date Printed" date (or timestamp) field in the invoice table. Your printing script would include something like this:

If( IsEmpty(Date Printed) )

     Set Field( Date Printed ; Get(CurrentDate) )

 Else

     Show Custom Dialog( "This invoice has been printed previously on" & GetAsText(Date Printed) & ". Do you wish to print it again ")

etc.

This topic is 5957 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.