May 22, 201114 yr 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.
May 22, 201114 yr 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.
May 22, 201114 yr Author 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?
Create an account or sign in to comment