Add/Delete/Edit items in a dataset

  • Thread starter Thread starter Atnet
  • Start date Start date
A

Atnet

Hello,

Using VB 8 Express.

I have a form that is reading and navigating via the bindingnavigator
my access database. It's a computer inventory for work. I have it
going through the database using the next, previous, first and last
commands with success.

However, I cannot find anywhere, either net or book a way to add a new
record, delete the current record, or edit the current record.

Is this even possible?

Thank you!
 
AtNet,

I have no expirience with VB8 express,

However if you use the currencymanager to go to the next etc. than there is
as well a currencymanager.addnew.

http://msdn.microsoft.com/library/d...ndowsformscurrencymanagerclassaddnewtopic.asp

It is a pity that there is no delete (don't use the remove that is completly
something different).

If your binding is to a datatable than you can do

dt.rows(cma.position).delete

If you are next time asking a question, than it is maybe simpler to show
*how* you do something than telling *that* you are doing something.

That makes helping you easier.

I hope that this helps anyhow.

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top