Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Tabstrip Control, what is the cleanest way to solve this problem?

Former Member
0 Kudos

I have two tabs, both tabs have fields, long text and table (table control). I want to retain all the data while switching from one tab to the next. Right now. everytime I toggle between tabs, all data that I had entered (but not saved/committed to database) is lost. ****I have 5 tabs in total for which I want to retain the data.

2 REPLIES 2

Former Member
0 Kudos

Probably you are using the single subscreen area for all your tabs

Try defining different subscreen area for all you tabs and switch to local scrolling by defining function type 'P' (beside where u mention func code) in tabs...

if u are unsure abt which method of tabstip u are using try pasing urr code here..

No Rewards Plz..

Former Member
0 Kudos

Hi,

I believe there are REFRESH statements in PBO's of the subscreens of the Tab's.

Or that you are not storing the values in the tables which are used for table controls. Everytime you click on another tab you should loop at the table control and and save the values in the internal table corresponding to the table control.

So when you come back next time, you'll have data in the internal tables and when it get's executed in PBO by looping on it, it will show you the previous data.

Hope this clears your issue.

regards

Nishant