logo

New Response

« Return to the main article

You are replying to:

  1. Domino generates an error that wil often require more analysis.

    For example, I recently had an error generated by an agent complaining that "DialogBox cannot be used in this context".

    Upon further inspection I determined that this pointed to the inability to load a form. (I was using a form in a dialog box.)

    The form could not be loaded because a field on the form was using @DbLookup to a view with a restriction (i.e. I was able to correct the issue by amending the security properties of the view).

    (Incidentally this is another piece of supporting evidence for keeping code modular as part of good programming hygeine; if you have hundreds of fields on a form -- including embedded subforms -- and the form won't load (haven't we all encountered one of those ;o), finding the fault is made *exponentially* more difficult.)

    Patrick

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: