Jump to content

Display informational message if there is no related record


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

Recommended Posts

Posted

I have a simple two table database. What I would like to do is have a button that will take the user to the related record if there is one but if there is not a related record then I want to pop up the custom dialog box.

Can someone explain how is this done? It seems pretty simple but I can't get it to work.

Thank you!

Becky

Posted

Use "not isempty()" instead of "not isvalid()". IsValid() is not intended for this purpose.

Posted

That worked. I even looked at IsValid in the help file before posting but didn't realize that it did this from the description.

Thank you Jens!

Posted

IsEmpty works too, but I had to remove the "not" modifier to make it work properly.

I thank all of you for your help. I learned something today. Now if I can just remember it for next time.

Becky

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