KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Can I call dialog boxes during the On Display Detail or On Header events?
PRODUCT: 4D | VERSION: 2004 | PLATFORM: Mac & Win
Published On: January 27, 2006
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

In 4D 2004, it is forbidden to call a 4D command that displays a dialog box from the On Display Detail and On Header events. Doing so will generate a syntax error.

The commands that will generate the syntax error are the following: ALERT, DIALOG, CONFIRM, Request, ADD RECORD, MODIFY RECORD, DISPLAY SELECTION and MODIFY SELECTION.