Multiple photos import to one related record

General support questions.
PostPosted: Tue Aug 09, 2005 6:50 pm
Alright here's another one:

Our databse has many tables, most of which relate to a single property record.

I want to be able to perform a photo import, where we'll import 20 photos or so for one property. I have a photos table, related to the property table, but the trouble is telling FMP what property to relate the imported photos to.

If the property number was in the photos file name, no problem. (Say file name was 300a, 300b, 300c, etc., all these are for property "300"...I could just get the filename as a number, and import this into the field related to the property ID).

However, I want this to be simple. No file naming or anything manual.

You're in a layout for the subject property, and you hit the "photo import" button. It imports ALL photos on the connected memory card into the photos table, but relates them all to THAT property.

I can't figure out how to do this...

Idears?
SeedCode Staff
SeedCode Staff
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am
PostPosted: Wed Aug 10, 2005 3:56 am
When you begin your photo import scripts I imagine you'll want to send the ID number of the current property to a global field. Then, after you've imported your photos, perform a replace in the newly created found set of photos, setting them all with this property ID which you've temporarily stored in your global field.

HTH.
John Sindelar
SeedCode
PostPosted: Thu Aug 11, 2005 8:37 am
Thanks for turning the light on for me!

"DUH"!

:wink:

Return to General Support

Who is online

Users browsing this forum: Google [Bot] and 3 guests

(855) SEEDCODE
[email protected]
Follow us: