Here is what I want to do – something like the features of cfgrid, but I want to do it in regular form to edit the dependents info of a particular employee. I run a query to get the existing dependents info of a particular employee and display them in a table.
Dep1 name1 birthdate1 gender1 …
Dep2 name2 birthdate2 gender2 …
Dep3 name3 birthdate3 gender3 …
…
Then I create 2 buttons “Add” and “Update” at the bottom of the form. I hope whenever the “Add” button is clicked, one empty dependent info row is displayed, another hit to get another empty row…, so users can add more than one new dependents and update the existing dependents.
Any ideas or sample code are appreciated.
Dep1 name1 birthdate1 gender1 …
Dep2 name2 birthdate2 gender2 …
Dep3 name3 birthdate3 gender3 …
…
Then I create 2 buttons “Add” and “Update” at the bottom of the form. I hope whenever the “Add” button is clicked, one empty dependent info row is displayed, another hit to get another empty row…, so users can add more than one new dependents and update the existing dependents.
Any ideas or sample code are appreciated.