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

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

Recommended Posts

Posted

I am building a database for kitchen cabinets.

I have drawn some images of cabinets and pasted them onto a layout.

These images act as a button to launch scripts that are germane to each type of cabinet.

For example: I use a picture of a four drawer stack to start the script that adds 4 drawers to my cut list and orders 4 sets of drawer slides for tommorrows fabrication.

I would like to be able to include a copy of each button image on each record. If the record was about sink base cabinets the picture of sink base would show up. If the record was about a 3 drawer bank the picture would indicate a 3 drawer cabinet.

All of this is to provide an immediate visual clue of what the record is about.

Can anybody help me here with this?

Thanks.

Posted

You can't directly copy a button image, but you can create a repeating global container field 'gImages' and put each of the images into a repetition of it. Then, as part of the buttons' scripts, include:

Set Field (ImageField, GetRepetition(gImages,theImageNumber)

Where ImageField is a regular container field on the layout, and theImageNumber contains the number of the image you want to insert.

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