Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

  • Newbies
Posted

How can i omit records in a found set in a script?

Allow User Abort (off)

Set Error Capture (on)

Enter Browse Mode()

Go to Layout inputform

Enter Find Mode ()

Set Field (City, "Brussels")

Perform Find()

--- i like to omit all the records with City="brussels"

If(Status(CurrentError) = 401)

Show Message ("No records were found", OK)

Show All Records

Go to Layout (original layout)

End If

Posted

This is the second time I’ve seen you answer this question LiveOak. The only thing that puzzles me is that you always say that the status area must be showing! I’ve tried this out and the Omit works for me even if the Status Area is hidden!!!! Strange. I can’t explain this at all!

Rigsby

Posted

The status area can be either hidden or showing for the Omit script step to work in the Omit-Find context - but it CANNOT be locked. If you check the Locked box in the script step, then Omit won't work

Russ

This topic is 8268 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.