cterrell16 Posted August 2, 2010 Posted August 2, 2010 I've made a check box for yes or no on my report layout. The people using this particular layout currently have just a guest account because I only wanted them to view the reports. Now I want them to be able to click a yes or no box. Is there a way to just give them access to one item?
Raybaudi Posted August 2, 2010 Posted August 2, 2010 Hi place squares over that check box set and set them to work like buttons ( they'll fire script with full access account )
cterrell16 Posted August 2, 2010 Author Posted August 2, 2010 I placed the square over the check box and made it a button. Do I also have to make it perform a script. If so I do I make a script select the button for yes or no.
Raybaudi Posted August 2, 2010 Posted August 2, 2010 1) Set your checkbox to be a number with values 1 or 0 2) format that number field to show boolean data with Yes ( for not zero values ) and No ( for zero or empty values ) 3) Yes, those squares must fire a script, something like: Set Field [ YourTable::YourCheckBoxField ; Abs ( YourTable::YourCheckBoxField - 1 ) ] Commit Record/Request ( it is better to show ONLY a checkbox )
cterrell16 Posted August 2, 2010 Author Posted August 2, 2010 I'm having trouble with a few parts. You said: Set your checkbox to be a number with values 1 or 0 I went to manage database on my field I chose in range 0 to 1. Then for your: format that number field to show boolean data with Yes ( for not zero values ) and No ( for zero or empty values ) I made a box and put it as boolean. The boxes has yes and no. Should I change them to something else. Last: On the script. I chose the set field with my rackedyn but I did not see the ABS in the list to choose from.
cterrell16 Posted August 2, 2010 Author Posted August 2, 2010 I figured it out. Thanks for all the help.
cterrell16 Posted August 2, 2010 Author Posted August 2, 2010 I figured it out but now i do not know how to erase a check box if someone mistakenly hits the button to run the script.
Recommended Posts
This topic is 5284 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