Phillip Anthony Posted April 10, 2007 Posted April 10, 2007 Hello, I would like to be able to auto-populate a container triggered by the filling of a another field, but cannot seem to be able to get it right. Here is my script code: If [ "not isEmpty ( Cards::cards_caption )" ] Go to Related Record [ From table: "Cards"; Using layout: < Current Layout> ] Copy [ Select; Cards::cards_image ] Go to Field [ Invoice Line Item::image_from_caption ] Paste [ Select; Cards::cards_image ] Else Beep End If What I mean to say is: If the portal field 'Cards: cards_caption" of this record is not empty Go to the related 'Cards' table Copy image from this records container field Go back to the current layout container field Paste the image into this layout container field else Beep if it fails End If The Beep works fine, but no image materializes in the 'image_from_caption' container after the 'card_caption' field is populated. The latter field is populated via a value list. To be clear, I manually enter all image captions and images into the Cards table. The image_caption is seen via a portal in the 'Invoice Line Item' table. Any comments or suggestions will be greatly appreciated. Phillip
Recommended Posts
This topic is 6438 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 accountSign in
Already have an account? Sign in here.
Sign In Now