A
Andre Ranieri
I've created a program that loops through the accounts
table in our
database, doing cleanup. Each time it finds an account
that needs
work, it fills a dataset temp table with the individual
services on
that account that need to be cleaned up. My DataSet has
two tables,
"AccountTable" that has the list of accounts that need be
cleaned up,
for each account in AccountTable, it invokes da.Fill
(ds, "TempTable")
to fill TempTable with a list of services that need be
modified for
that account.
The problem is that each time I fill TempTable, the
preceeding
account's services are still in the table. I'm want to run
ds.clear()
to clear the entire DataSet because I still need the
contents of
AccountTable, what's the syntax to just delete the
contents of just
one table in the DataSet?
Thanks,
Andre
table in our
database, doing cleanup. Each time it finds an account
that needs
work, it fills a dataset temp table with the individual
services on
that account that need to be cleaned up. My DataSet has
two tables,
"AccountTable" that has the list of accounts that need be
cleaned up,
for each account in AccountTable, it invokes da.Fill
(ds, "TempTable")
to fill TempTable with a list of services that need be
modified for
that account.
The problem is that each time I fill TempTable, the
preceeding
account's services are still in the table. I'm want to run
ds.clear()
to clear the entire DataSet because I still need the
contents of
AccountTable, what's the syntax to just delete the
contents of just
one table in the DataSet?
Thanks,
Andre