Locked myself out of a customization

I made a customization that has a BeforeToolEvent. But there’s an error in my event handler, which is preventing me from entering customization mode.

I can select the customization just fine, but when it loads, I get:

edvQuoteHed.dataView[edvQuoteHed.Row][“QuoteComment”]

I clear that, and the blank form loads.

Upon selecting Tools -> Customization I get the “Index-1 is either negative …” error. And the Customization window never appears.

I’ve even tried loading a record before trying to enter Customization mode, but the same thing happens.

I know what the error in my customization is. I just can’t get to it to fix it.

Any thoughts on how to get in?

I have accessed some problem forms thru Customization Maintenance in the past.
Via menu items might let you into things when the form doesn’t want to load.
…your mileage may vary

2 Likes

Hadn’t thought about Customization Maint.

I can Export it from Cust Maint. Then I should be able to edit the XML, and then import it.

I’ll give that a try.

EDIT

That worked!

1 Like

FYI you didn’t need to export and re-import… you could have gone to the ‘Actions -> Show Custom Data’ menu and then on the displayed dialog box used the ‘Custom Code’ tab to make changes to the code and saved it there.

1 Like

Yeah, I know I didn’t immediately realize the actions in customization maintenance either.
Now that I know, it often comes in handy…