Custom field Combobox with UI  Topic is solved

Discussions relating to Jiwa 7 plugin development, and the Jiwa 7 API.

Custom field Combobox with UI

Postby DannyC » Wed Mar 23, 2016 11:39 am

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
Attachments
Sales Order Custom Fields with UI(1).rar
(7.94 KiB) Downloaded 358 times
User avatar
DannyC
Senpai
Senpai
 
Posts: 718
Joined: Fri Mar 22, 2013 12:23 pm
Topics Solved: 31

Re: Custom field Combobox with UI  Topic is solved

Postby Scott.Pearce » Wed Mar 23, 2016 11:45 am

"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()
Scott Pearce
Senior Analyst/Programmer
Jiwa Financials
User avatar
Scott.Pearce
Senpai
Senpai
 
Posts: 765
Joined: Tue Feb 12, 2008 11:27 am
Location: New South Wales, Australia
Topics Solved: 230


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 4 guests