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

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

Recommended Posts

Posted

I have tried this function on several occations and each time i use it i get the same results.

the problem:

I like using custom dialog boxes to obtain find criteria from my users. i also like to display dialog boxes to help the user know whats going on. thus when a found count returns empty or 0 i want to display a message saying there are no matching records and to try the search again.

ive tried using

if get(foundcount) = 0

and get(foundcount)>1 (in this case i was looking for an exisiting occurance of a unique value)

each time this function does not trigger the if statement and the script continues on.

any ideas?

Posted

In what context are you using get ( foundcount )? Did you just complete a find? Are you in browse mode? Check your script by inserting a pause and make sure you have the above at the time you test.

Posted

sorry i phrased that question really poorly and also discovered a mistake (evaluating a calcualtion as text instead of numberic :-/ ).

but what i am trying to do now is bypass the default dialog that tells you no matching records have been found. I want to be able to display my custom dialog instead. is this possible?

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