mmaz
Programmer
- Nov 22, 2000
- 347
Hi,
I'm displaying information from a db on a form, and I want to be able to add new records to the db. Now, my form looks like this:
Server ID Server Name Client Name
1 Server1 Client1
2 Server2 Client2
When the user selects the "Add" button, I want to add 3 textbox to the form (for Server ID, Server Name and Client Name). I can do that but the problem is, if the user selects the "Add" button again without saving, there will still be 3 empty textboxes (1 record) and not 6 (for 2 records). So no matter how many times the user selects the "Add" button, the form output will always be:
Server ID Server Name Client Name
1 Server1 Client1
2 Server2 Client2
(empty) (empty) (empty)
How can I print multiple form controls on consecutive "Add" button click without first saving?
Thank you in advance,
Marie
I'm displaying information from a db on a form, and I want to be able to add new records to the db. Now, my form looks like this:
Server ID Server Name Client Name
1 Server1 Client1
2 Server2 Client2
When the user selects the "Add" button, I want to add 3 textbox to the form (for Server ID, Server Name and Client Name). I can do that but the problem is, if the user selects the "Add" button again without saving, there will still be 3 empty textboxes (1 record) and not 6 (for 2 records). So no matter how many times the user selects the "Add" button, the form output will always be:
Server ID Server Name Client Name
1 Server1 Client1
2 Server2 Client2
(empty) (empty) (empty)
How can I print multiple form controls on consecutive "Add" button click without first saving?
Thank you in advance,
Marie