stann Posted September 8, 2004 Posted September 8, 2004 Hi I would like my user to click on a field and have it change graphics from a look up I have a layout where the graphics reside. If they click again I would like it to change back The field is called "updown" So one click changes it and another click changes it back any suggestions are very appreciated Stan
Philland Posted September 8, 2004 Posted September 8, 2004 Create a container field with 2 repetitions (called "updown" for the sake of example). Place your "up" graphic in repetition 1 and your "down" graphic in repetition 2 Create a second container field (called "UpAndDown") this is the field that you will display on your layout Write a script If(UpAndDown = GetRepetition(updown; 2) or IsEmpty (UpAndDown) Set Field (UpAndDown; GetRepetition (updown; 1) Else Set Field (UpAndDown; GetRepetition (updown; 2) End If Now specific the UpAndDown container as a button with the above script Phil
Recommended Posts
This topic is 7478 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