Table Control

Hi Everyone,

I have created a table control and my further task is to make data entries into the table control .

Upon entering the values in table control and pressing SAVE button the values entered should be entered into the corresponding database table,

Suggestions on how to do that as i have created two tables ZEMP_CG and ZEMP_CG_LEAVE where employee id is the

primary key in ZEMP_CG and the foreign key in ZEMP_CG_LEAVE.

The Combination of Employee ID and a field called zcount is the primary key in* ZEMP_CG_LEAVE* table.

What is it that i need to do such that the data i enter in the TABLE control , upon pressing SAVE gets added to the table ZEMP_CG_LEAVE.