Sage MAS 90 and 200 Sage MAS 500 blogs Product Feedback Support Training
Reply
Sage MAS Partner
Var2LLC
Posts: 20
Registered: 11-18-2008
0
Accepted Solution

Add a tab to Maintain Vendors screen gets Error 340 - Control array element '2' doesn't exist

Using the source code to add a tab to Maintain Vendors, I keep getting Error 340 - Control array element '2' doesn't exist when running the screen.    I know 2 is the tab number of the new tab, but don't understand why the error is thrown.  

 

What I did was simple - changed the tabs property from 2 to 3 for the tabVendMaint control.   What did I miss?   I searched through the whole screen but couldn't find the culprit.  Suspecting data dictionary, but don't think it stores this type of info.   Strange thing is that I can do that to some screens, such as Enter Projects, without running into the same problem.   

 

Any idea would be appreciated.

 

John

John Lian
WaveQ, Inc.
Contributor
hsanguino
Posts: 26
Registered: 11-01-2008

Re: Add a tab to Maintain Vendors screen gets Error 340 - Control array element '2' doesn't exist

John

 

After adding your new tab, you have to add a SSPanel (old sheridan control) into it , then name it "pnlTab", it will get automatically index number 2 , then you should be good to go.

 

Hugo

 

 

 

Sage MAS Partner
Var2LLC
Posts: 20
Registered: 11-18-2008
0

Re: Add a tab to Maintain Vendors screen gets Error 340 - Control array element '2' doesn't exist

Thanks Hugo.  Works like a charm.  

John Lian
WaveQ, Inc.