ckrusen
(Calvin Krusen)
May 13, 2020, 6:53pm
1
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?
bordway
(Bruce Ordway)
May 13, 2020, 7:05pm
2
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
ckrusen
(Calvin Krusen)
May 13, 2020, 7:11pm
3
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
GaryWarn
(Gary Warn)
May 14, 2020, 3:05pm
4
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
bordway
(Bruce Ordway)
May 14, 2020, 3:53pm
5
Yeah, I know I didn’t immediately realize the actions in customization maintenance either.
Now that I know, it often comes in handy…