Newbies marcs@wetmore Posted May 7, 2001 Newbies Posted May 7, 2001 I have a database of jobs that when completed, the user will check a "Completed" checkbox. I would like to sort a list to show only the items that are not checked (uncompleted). I only want this for this one list.
Moon Posted May 7, 2001 Posted May 7, 2001 Do a find for the checked check box and click the Omit box.
Newbies marcs@wetmore Posted May 7, 2001 Author Newbies Posted May 7, 2001 Sorry, forgot to specify that I want to do this in a script. Is there a way to step through each record looking for the checkbox and then omitting the record that was checked? I have been able to get it to work, sort of by going to the first record and then omitting records, but I have to run the script several times. When I do this, it sets all the other forms to only see the uncompleted jobs. I want just the list form that I am working on to display the sorted records.
Kurt Knippel Posted May 7, 2001 Posted May 7, 2001 quote: Originally posted by Marc Smith: Sorry, forgot to specify that I want to do this in a script. Is there a way to step through each record looking for the checkbox and then omitting the record that was checked? I have been able to get it to work, sort of by going to the first record and then omitting records, but I have to run the script several times. When I do this, it sets all the other forms to only see the uncompleted jobs. I want just the list form that I am working on to display the sorted records. Ok, what EXACTLY are you looking for? This seems like a simple find request issue. I think that you are looking for the unckecked records of a particular ??. The find criteria is 2 step. The first request finds the ?? that you are looking for. The second request uses the omit option to omit the records that are checked.
Newbies marcs@wetmore Posted May 7, 2001 Author Newbies Posted May 7, 2001 Fixed it myself. Here is what I did: Go to Record/Request/Page[First] Loop If(Complete="Complete") Omit Record EndIf Go to Record/Request/Page[Exit after Last, Next] End Loop Hope this helps anyone else.
LiveOak Posted May 8, 2001 Posted May 8, 2001 This approach will certainly work, but for large record sets it is not nearly as fast as a find or better yet a "go to related record, show only related records". Kind of like driving in a wood screw with a hammer. Toggle Status Area (show) Enter Find Mode () Set Field (Checkbox, 1) Omit Perform Find () -bd
Recommended Posts
This topic is 8605 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