July 25, 201015 yr Hello, Started working on a new project, an eight photo, photo lineup and I need help. I have a contact db which will store data about people as well as a photo. I also have a layout with Global Containers (8 total for the photos I select from the contact db). What I want to do is attach a button to the photo on the contact db that will place the photo in the first Global Container if it is empty. If the first container is Not Empty then the selected photo will be placed in Global Container #2...if #2 is not empty then #3 etc. I have tried to use If Not IsEmpty in the script, but that only can get me to container #2 and then I am stuck. Am I approaching this the wrong way? Looking for suggestions. Thanks, Jim Edited July 25, 201015 yr by Guest
July 25, 201015 yr This sounds right. Are you using Else IF Statements? Post your script I would use something like this; If[(isempty(container1)] Set Field[Container1; ContactPicture] else[isempty(container2)] Set Field[Container2;ContactPicture] ... EndIF
July 25, 201015 yr Another option is to use a separate table for the photos, related by the contact ID. That way you could just add a new photo record as needed.
July 25, 201015 yr Author Jerry & Fitch, Thanks for the reply! Jerry, I'm not sure what the heck I was doing. I followed your example and everything is rolling along just fine. Thanks again! Jim
Create an account or sign in to comment