G
Guest
Hi to all,
On a form a have a command button. When I click on the button a parametrized
query is run against a table (tbl1) returning 16 records only. Each record
contains 3 numeric fields (f1, f2, f3). By some means (a loop? a query?) I
would like to change the numeric value of the first field only (f1), for each
record, leaving everything else as it is. Next I would like to add these 16
modified records to my original table. (I don't want to modify the original
16 records, I just want to add 16 new (modified) records to my table). I'm
new to ado and I'm not sure how to do this without affecting the existing
records. Any help would be greatly appreciated especially if it included any
sample code.
Thanks in advance, George
On a form a have a command button. When I click on the button a parametrized
query is run against a table (tbl1) returning 16 records only. Each record
contains 3 numeric fields (f1, f2, f3). By some means (a loop? a query?) I
would like to change the numeric value of the first field only (f1), for each
record, leaving everything else as it is. Next I would like to add these 16
modified records to my original table. (I don't want to modify the original
16 records, I just want to add 16 new (modified) records to my table). I'm
new to ado and I'm not sure how to do this without affecting the existing
records. Any help would be greatly appreciated especially if it included any
sample code.
Thanks in advance, George