June 11, 200718 yr 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
June 11, 200718 yr Use "not isempty()" instead of "not isvalid()". IsValid() is not intended for this purpose.
June 11, 200718 yr Author 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!
June 11, 200718 yr Author 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
June 11, 200718 yr Seriously, not not TRUE = TRUE. "not not" was a good way to do what GetAsBoolean() does now.
Create an account or sign in to comment