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

Insert a picture in Filemaker depending of pressing a button


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

Recommended Posts

  • Newbies
Posted (edited)

Hello,

A customer have two different layouts, one with logo, and the other one without it. He wants an unique layout with a checkbox asking "Do you want the logo?". With the checkbox is checked, it will print with logo. If not, it will print it with without it, because it is already at the paper.

I have tried with buttons, without success. The checkboxes must be from a field in the datebase!

Any ideas? I have search in google, in the filemaker training series, and I do not know how to do it yet :

Thank you very much in advance.

Edited by Guest
Posted

That need 3 fields:

1) Logo ( container global field )

2) Flag ( number field formatted as checkbox with a custom value list = 1 )

3) cLogo ( calculation field, result container and calc:

Case(

Flag; Logo

)

On the print layout you put only the cLogo field and the Flag field ( this one setted as not printable ); when the user checks the lonely checkbox of Flag, Logo appears.

Posted

There are a few different ways to do this. In general it's easier to use a relationship or calculation rather than maintain more layouts. See attached file for a bare bones example.

logo.zip

Posted

Hi Fitch

your way can solve or can't solve...

It depends from how many records he have to print with Logo or without.

Your way sets all the records of table Display to have ( or to have not ) the logo.

Posted

Thanks for pointing that out Daniele. I wasn't sure whether that was an issue in this situation or not, but you are right to note the distinction.

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