Frequent Form Corruption

Frequent Form Corruption


I have been having various issues with a form in my application:INZ Database.

The form in question is:frmEvent

The problem seems to be centred on some Deluge script that I have placed in the On User Input of control:cboEventAgencyID.

The script reads as follows:

//If cboEventAgencyID does not equal "-Select-" then
if (input.cboEventAgencyID  !=  "-Select-")
{
    //Enable the following combo boxes
    enable cboEventVenueID;
    enable cboEventClientID;
    enable cboEventContactID;
    //Set the following fields to zero:EventVenueID, EventClientID, EventContactID
    input.EventVenueID = 0;
    input.EventContactID = 0;
    input.EventClientID = 0;
    /*Clear the following detail fields:EventContactDetail, EventClientDetail
EventVenueDetail*/
    input.EventVenueDetail = input.EventVenueDetail.remove(input.EventVenueDetail);
    input.EventContactDetail = input.EventContactDetail.remove(input.EventContactDetail);
    input.EventClientDetail = input.EventClientDetail.remove(input.EventContactDetail);
}
else
{
    //Disable the following combo boxes
    disable cboEventVenueID;
    disable cboEventClientID;
    disable cboEventContactID;
    //Set the following fields to zero:EventVenueID, EventClientID, EventContactID
    input.EventVenueID = 0;
    input.EventContactID = 0;
    input.EventClientID = 0;
    /*Clear the following detail fields:EventContactDetail, EventClientDetail
EventVenueDetail*/
    input.EventVenueDetail = input.EventVenueDetail.remove(input.EventVenueDetail);
    input.EventContactDetail = input.EventContactDetail.remove(input.EventContactDetail);
    input.EventClientDetail = input.EventClientDetail.remove(input.EventContactDetail);
}



As I code, I like to test the application along the way, and the code listed above is not nearly the end of what I require.

Is there a problem with the amount of statements executed in a single event?  Because now, I can't:
  1. Delete the script in Script builder or free flow scripting.
  2. Delete the form element: cboEventAgencyID
  3. or even delete the form itself.
When I try to delete the code I get the following message: Exception occured while publishing message to the topic :: [DataModelTopic]

When I tried to delete the form at: 9:16 am and the system hung until 9:20 am and displayed the message:  Unable to delete form.

Again I ask if there is a limitation on the number of statements that can be executed in a single event, as I may have to re-evaluate how to utilized zoho.

These issues persist regardless of which browser I use (Firefox 3, IE Explorer 8, or Chrome)

I have shared this application and allowed edit access to support.

Thanks,

Leo Saumure