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

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

Recommended Posts

Posted

Field1(global field); // for searching

LIST VIEW

Script on field1 modify:

show all records;

perform quick find[field1]

go to field1;

How I can solve problem when there are no find records matching field1 criteria. How turn off the error window or do nothing when there are no matching records.

Posted

You do not need to Show All (Find always addresses all records in the table).

Use Set Error Capture ON right before the FIND to suppress the No Records Found.

However, in your script, you might wish to add:

If (Get (FoundCount)=0)

Show Dialog "No Records Match..."

Show all Records

End If

Somewhere on this forum is a Find script that I use, so maybe search for Find and my name.

Posted

You do not need to Show All (Find always addresses all records in the table).

Use Set Error Capture ON right before the FIND to suppress the No Records Found.

However, in your script, you might wish to add:

If (Get (FoundCount)=0)

Show Dialog "No Records Match..."

Show all Records

End If

Somewhere on this forum is a Find script that I use, so maybe search for Find and my name.

But I do not want show records in list view if FoundCount=0, how I can Hide all Records?

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