Hello,
I'm completely new to vb.net and so far I'm really enjoying it.
I want to be able to loop through records in a table and continue adding a date and value until I reach the end date for that record.
Each time the date gets added I want to show that on a separate row.
i.e customer xyz has a start date of 3/4/09 and an end date of 11/11/09
a new record should be added for xyz every 7 days until it reaches the end date of 11/11.
In access I would use the dateadd function and loop through the recordset while adding a new record to a table.
What is the best way to do this in VB.net?
Can someone point me in the right direction or a link to some tutorials?
Thanks for any help.
I'm completely new to vb.net and so far I'm really enjoying it.
I want to be able to loop through records in a table and continue adding a date and value until I reach the end date for that record.
Each time the date gets added I want to show that on a separate row.
i.e customer xyz has a start date of 3/4/09 and an end date of 11/11/09
a new record should be added for xyz every 7 days until it reaches the end date of 11/11.
In access I would use the dateadd function and loop through the recordset while adding a new record to a table.
What is the best way to do this in VB.net?
Can someone point me in the right direction or a link to some tutorials?
Thanks for any help.