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

Linking Photographs and Filename extensions


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

Recommended Posts

Posted

Greetings All!

For a few years now I've worked with a database that included photos of the part numbers, and in this case I use a filenaming software to batch change the item names before importing so that they would not have the file extensions (like .jpg), so that the db would link the photo and display it in the layouts.

Now I have a new set of images (new file) to import into an entirely new field, and was wondering if I could link (relate) the photos and still keep the file extensions...

My first try at a solution was to create a field to relate to that was a calculation that removed the extension from the filename, but what I'm running into is that some of the part numbers begin with the number "0" (based on the vendor's original part number, otherwise I wouldn't use it), and the calculation is removing those leading zeros. (Not all the part numbers have leading zeros)

Anybody have any ideas?

Dev 6, Tiger, G5

Posted

Well, I solved it...

I had the calculation result as "text"... When I changed it to "container" I was able to keep the text as entered... So I created a calculation in one file like this:

(partno+'.jpg")...

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