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

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

Recommended Posts

  • Newbies
Posted

Hi folks..

I think this is a simple one, but can't work it out. Using FMP 9.

I have a summary page, which logs whether a certain document (such as an invoice) has been sent to a customer.

I save the documents as JPEGs and store them in picture Container Fields. I can assume that the document has been sent if I have dropped it into the container field.

How can I make my "Sent? Yes/No" checkbox set on the summary page automatically display "Yes" in the event that the relevant container field has something in it?

Thanks for your help!

Posted

If the document file has been "embedded" in container field, rather than being Inserted [x] As reference only, then the Length ( container field ) function will return a length > 0.

If it's been Inserted as reference, then they'll be 0, and you'll need to use an external method to verify that the file is actually still there. If however nothing has ever been inserted in the field, you can use GetAsText ( container field ). If nothing has ever been inserted in the field, then not IsEmpty ( container field ) will be blank.

This topic is 6142 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.