hi,
i'm using adoqery to extract database data (using adoquery)for display in a dbgrid. this grid has to be refreshed each time new documents are added.
the problem that i have is that i allow users to add multiple documents (say 5), which are saved in a a cached dataset, and the 5 documents are updated to the database at one shot with updatebatch command. But i can't seem to clear the dataset with the commitupdate command. so my data in the datagrid shows not just the 5 recently added documents does anyone have any idea?
i'm using adoqery to extract database data (using adoquery)for display in a dbgrid. this grid has to be refreshed each time new documents are added.
the problem that i have is that i allow users to add multiple documents (say 5), which are saved in a a cached dataset, and the 5 documents are updated to the database at one shot with updatebatch command. But i can't seem to clear the dataset with the commitupdate command. so my data in the datagrid shows not just the 5 recently added documents does anyone have any idea?