Lotusscript DialogBox Method and script in R8

I am transferring the user to a dialog box using workspace.DialogBox, calling a different form. The line of code is:

uiWS.Dialogbox(“frmDBLookup”, True, True, True, True, False, False, “Please Select A Database”, thisDoc, False, True)

The form then has a listbox field to select a server, with code on the Exiting event to collect a list of all databases for that server. However, the code on the Exiting event is not being triggered. I have tried adding a Msgbox statement into the Exiting event and the Entering event of the field. I have also tried adding a Msgbox statement into the PostOpen event of the frmDBLookup form being used for the dialog. Nothing gets triggered. I have tried also calling with the workspace.DialogBox a stripped down form that has only one field on it and Msgboxes in the relevant places.

This is tried and tested functionality that has worked from R5 through R7, but is not working in R8. If this is addressed by R8.0.2, I need to let the client know - this application needs to be delivered within the next two weeks. If the functionality is deprecated, I need to develop an alternative method for this and other databases using workspace.DialogBox calling forms with Lotusscript in them.

This sounds very similar to an issue reported by Bernd 2 Szarkow in WEBB76BG37, to which there was no response (http://www-10.lotus.com/ldd/nd8forum.nsf/5f27803bba85d8e285256bf10054620d/562d038f26525c368525733f0041cc05?OpenDocument&Highlight=0,dialogbox).

Could someone please confirm if this is a problem that has been resolved, is being resolved, cannot be resolved, or cannot be reproduced. Steps to reproduce, as mentioned, are calling a different form using workspace.DialogBox and trying to use script in lotusscript events on the dialog form.

Subject: works in 8.02

i’ve created a simple form with 2 fields.in ‘Exiting’ of field one i call a simple messagebox.

calling the dialogbox and exiting the field1 worked nicely in 8.0.2

you could make your script step-driven:

first ask for the server make a button [continue] which collects all dbs and so on.

on some servers with many dbs an exit event will take long and people don’t know what’s happening.

Subject: Thanks

Thanks, I’ve managed to upgrade to 8.0.2 and a button works fine. I can’t seem to get the exiting event on fields to work, and prefer the button option.

Subject: Events not working in dialogbox in R9

This issue persists in my R9 client. Events work on a form but fail if the form is opened in a dialogbox.