Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

maybe im not explain it the right way. Let me put an example.

Lets say i have "file.fp7" and a folder with 3 pictures: "James.jpg", "Jhon.jpg" and "Peter.jpg".

In file.fp7, there is a record with two fields "Name" and "Photo", i want that if in "Name" i put "James", automatically the photo container will be "James.jpg". Tell me if i explained myself better. Thanks!

Posted

create a calculation result container and try:

"image:" & "yourFolderName/" & nameField & ".jpg"

image:yourFolderName/James.jpg

Posted

Embedded? Only if you actually use the insert picture script step...

Go To Field[YourImageField]

Insert Picture[]

Posted

Try this:

Set variable [$path; value: Substitute ( Get(FilePath);["file" ; "image"];[Get ( FileName ) & ".fp7" ; yourDB::name & ".jpg" ])]

Go to field [yourDB::photo]

Insert Picture["$path"]

You can make the "photo" field a button that fires this script

or

you can use EventScript plugin and an auto-enter calculation for field "name" that will fire this script

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