Skip to Content
Former Member
Jan 13, 2007 at 06:32 AM

Table Control with Display/Change/Add/Delete Function


Hi Guy,

I got a request to require a module program to maintain customer table, the SPEC is:

On the screen there are 2 fields as selection criteria value, after input them and press ENTER, all related record from this table should be list on the table control below, that is easy.

But, I will 1) modify some of listed records

2)add new records (press add new item button below table control to get one line active for input, then ENTER to check the valid of this record and keep it on the screen if it's OK, or get error message, after correct press ENTER again the valid again and keep it on the screen)

3) delete some listed records (press delete item button below table control to delete selected record, then refresh the table control list again)

Then press a UPDATE button to make save/update/delete the database table

How can I do it? Is there is example code?

Thank in Advance