I want to make a dialog box which, if a condition is met, does not show the ACCEPT or SAVE buttons. But it gives me error.C:\Users\Usuario\Desktop\EIEL\EIELORACLE>Echo off (aliviadero.mb:598) Unrecognized command: Control.
You cannot use an "If" condition within your "Dialog" statement. You need to set up the variables beforehand instead. To do this, I would use variables to position the buttons off-screen (that is, outside the boundary of the Dialog) if they are not to be displayed.
Therefore, before calling the Dialog you could have:
Dim nButtonYPos As Integer