oilcan Posted May 30, 2007 Posted May 30, 2007 I have a field that is a Yes or No Radio button. I am using the visibility trick to show or hide some items in a portal. It works well, except that if you make an entry to the Yes or No radio buttons, you then have to click somewhere else on the layout to commit the record, and thus show or hide the items in the portal. This will do, I guess, but my preference would be that a click on either radio button would automatically commit the record, thus revealing or concealing the objects in the portal immediately. If anyone has a notion of how I might accomplish this I'd be interested to hear about it.
comment Posted May 30, 2007 Posted May 30, 2007 Make the field a button that runs a script. The script will toggle the field and commit.
sbg2 Posted May 30, 2007 Posted May 30, 2007 Or use seperate radio buttons for each choice. v7 example attached. Commit.zip
oilcan Posted May 30, 2007 Author Posted May 30, 2007 perfect. this site is such a tremendous resource to somebody such as myself that is trying to struggle through the learning process. once again, thanks.
oilcan Posted June 1, 2007 Author Posted June 1, 2007 Or use seperate radio buttons for each choice. v7 example attached. sbg2, I have a question for you. I have implemented your elegant solution into my database and it works beautifully. However, there is something I did not quite understand about it. On your relationships graph you had two occurrences of the Graphics table, one of which was relating the Graphics table primary key to the yes boolean in the Commit table. Was this a 'typo'? What purpose did it serve? I've removed that relationship and the second occurrence of the Graphics table from my solution, and everything still seems to work fine. I am just trying to understand what these other things were about. Thanks.
Recommended Posts
This topic is 6734 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