uncalculated stored calc populating value list wacks Servoy

Symptoms: (1) Under circumstances described below, most of the time Form-in-Dialog doesn’t display when called (although Servoy acts as if it is displaying the form); (2) When the form-in-dialog does display, it’s NOT modal: you can click to the also-being-displayed form that’s not a form-in-dialog, select menu items, etc.

Cause: Unpopulated stored calc. More specifically, null values in a stored calc field for which calculating would result in not-null value, and where the uncalculated stored calc is being used to populate a value list for a field in a form-in-dialog.

This bug report makes reference to the following: A blank form, a form named ‘Login’; a ‘Users’ table with existing records.

Create two forms, Blank and Login. Create a method to show Blank. Make the onShow of Blank display Login as a form-in-dialog. Create a new stored calc in ‘Users’ (we were calculating user initials), but don’t force calculation for all records by iterating through the table–in other words, leave the stored calc unpopulated. Place a field on Login. Attach a value list. Populate the value list with the stored calc.

Run the method to display Blank. Result: (1) Login doesn’t display at all most of the time. (2) When it does display, the form-in-dialog is NOT modal: you can click to the blank form, select menu items, etc.

Forgot the relevant specs:

2.1.1rc1
MS SQL Server as both repository and data server
Developer running under OS X

Could you post the sample solution you are talking about?