Jump to content

This topic is 7492 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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

Posted

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?

Posted

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.

Posted

You would check the box in find mode and then click the Omit box in the Status Area.

Posted

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.

Posted

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.

Posted

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.

This topic is 7492 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.