- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Add a tab to Maintain Vendors screen gets Error 340 - Control array element '2' doesn't exist
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-06-2011 07:39 PM
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
WaveQ, Inc.
Solved! Go to Solution.
Re: Add a tab to Maintain Vendors screen gets Error 340 - Control array element '2' doesn't exist
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-06-2011 08:42 PM
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
Re: Add a tab to Maintain Vendors screen gets Error 340 - Control array element '2' doesn't exist
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-06-2011 09:18 PM
Thanks Hugo. Works like a charm.
WaveQ, Inc.


