Newbies MikeG1 Posted September 18, 2024 Newbies Posted September 18, 2024 I am trying to write an IF/THEN statement than presents a dialogue box if the name field is blank. If it has a name is in the field, continue.
comment Posted September 18, 2024 Posted September 18, 2024 (edited) I assume you are asking in the context of a script, since showing a custom dialog is a script step (you posted this in the Conditional Formatting section which is irrelevant to the problem). I also assume that the purpose of the custom dialog is to allow the user to add the missing name and not allow them to continue until they do. For this, you would do something like: Loop Exit Loop If [ not IsEmpty ( YourTable::Namefield ) ] Beep Show Custom Dialog [ "A name is required." ; YourTable::Namefield ] End Loop # the rest of the script You could make this more elaborate by giving them the choice to enter the name and continue or to abort. Edited September 18, 2024 by comment
Newbies MikeG1 Posted September 18, 2024 Author Newbies Posted September 18, 2024 Let me try this. Thank you for your help.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now