July 26, 200421 yr I am currently trying to make a report that looks to see if a checkbox is checked or not, but am having trouble everywhere I turn, including even making the checkbox value, I understand how to do it logistically, just not in practice... if anyone could help me and wishes to try and discuss the details over email please email me at [email protected] if you would rather type the reply here that is fine as well. Thank you in advance
July 26, 200421 yr If a box is checked, then its value equals the selected option or one of the options selected. For example, a checkbox with values A, B, and C selected would equal A
July 26, 200421 yr Author Okay got that part but how do I make a check box with only one selectable option?
July 26, 200421 yr Author I understand the usage of value lists but if it's only a value list how do I do a query on it since a query can only be pulled on a field?
July 26, 200421 yr The field is formatted as a value list for selection purposes only; it is still just a field. To find records that have it selected, enter find mode, check the box, and press Enter.
July 26, 200421 yr Author To make a report using only the ones that have it unchecked I would do a find not equal to value of the box?
July 26, 200421 yr You would check the box in find mode and then click the Omit box in the Status Area.
July 27, 200421 yr Author I am trying to use a script to generate a report in a list format, showing only those records that are not checked, is there a easy way to do this? BTW thanks for the help Queue.
July 27, 200421 yr Sure. Set Error Capture [On] Enter Find Mode [ ] Set Field [text; "value"] Omit Record Perform Find [ ] If [not Get ( FoundCount ) ] Show Custom Dialog ["There are no records not checked."] Halt Script End If {remainder of reporting steps} Alternately, you can Set field [text, "="] Perform Find [ ] instead of the Set Field and Omit steps, since = will find records with 'text' field empty.
July 28, 200421 yr Author an alternate is perform find [options] is it not? I mean I don't need to set the field if I have it.
July 28, 200421 yr Yes, just make the criteria =. I rarely use Perform Find [restore], since the criteria must be hard-coded. In this situation it should work though.
Create an account or sign in to comment