Jump to content

Dialog when Field is Populated


 Share

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

Recommended Posts

That's not a lot to go on but the button which switches layouts can hold the script (if it is based upon the same table occurrence). It might be something like:

If [ IsEmpty ( thatField ) ]

Go to Layout [ the other layout ]

Else

Show Custom Dialog [ OK ; "you can't go to that layout" ]

End If

But again, we have little information about whether the other layout is from a related table, another file or in a new window showing a different found set. If the 'field' which should be empty is within the same RECORD and you jump to another layout (based upon the same table occurrence) then you can test before the jump and not jump at all (if the field isn't empty).

Link to comment
Share on other sites

This topic is 5707 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
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.