Just for my own edification and challenge, I've knocked up a plugin which has a maintenance list for Category 6 values. Whether I deploy or not is a moot point as at this stage I'd just like to get it working. Stuart & I have had discussions (outside the forum) on the merits & negatives of using custom fields like this.
The custom form/list works well and I can add, delete, edit values.
The problem I'm having is that when I try to use it as a basis for inventory combobox values, I am getting an error on Read() of the collection.
The error is occurring within the Read() at line 212
- Code: Select all
var db = Manager.Database;
because Manager is null. I've tried
- Code: Select all
var db = this.Manager.Database;
and
- Code: Select all
var db = base.Manager.Database;
but each time the Manager is null.
What's the trick to getting a valid manager?
Note the debugger is enabled in the attached plugin.