Page 1 of 1

Custom field Combobox with UI

PostPosted: Wed Mar 23, 2016 11:39 am
by DannyC
Quite some time ago on forum thread
viewtopic.php?f=26&t=205

you provided a really nice plugin which creates an interface for users to enter & maintain their own values for a combobox custom field (plugin attached).
In 7.0.157 it's now erroring.

I have changed line 244 from
Code: Select all
    Public Overrides Sub SaveRecord()

to
Code: Select all
    Public Overrides Sub iSave()

but it is still giving an error on compile "Public overides Sub iSave() cannot override Protected Must Override Sub iSave() because they have different access levels"

Can you help?

Cheers

Danny

Re: Custom field Combobox with UI  Topic is solved

PostPosted: Wed Mar 23, 2016 11:45 am
by Scott.Pearce
"Access level" refers to the "Public" keyword. The new iSave you are overiding is declared "Protected" in the base. Change:

Code: Select all
Public Overrides Sub iSave()


to

Code: Select all
Protected Overrides Sub iSave()