How to refresh data in tabs?

S

spacerocket

Hi,

I created a tab control with two tabs in a form, Income and Expenses. When
user opens the form, it will show the first tab. How do I make the tab to
clear all the values in it (eg. values in text box and combo box) when user
click on another tab? This is to avoid a scenario whereby user input data in
the wrong tab, and then realise later, thus clicking to another tab and input
data again. This would result in the data in both tabs being updated in the
table, which is wrong...

Pls help! Thanks.
 
Top