update record in access table

  • Thread starter Thread starter PeBe
  • Start date Start date
P

PeBe

Hi,

I recently started learning VB.NET and I ran into a first problem I cannot
get solved.

When loading an access table into a datagrid, loading and updating is OK.
(no problems so far)

When I load the same date into textboxes, introduce some navigation buttons
to the form to read different records, I can only "load" data from my
accessDB but cannot update changes back to the DB.

I assume my problem is generated because my update doesn't "know" witch row
to update.

Kan anyone provide me some example data on how to update records based on
the explained situation?
(in case my explenation is not cleat enough, please let me know. I'm getting
desperate about this problem)
(trying to solve this problems since days withoud success) :-(


thanks in advance,
Peter
 
PeBe,

Are you trying to update back to the database before moving to a new record
(via 'Save' button or similar)?
If so, make sure you call the EndCurrentEdit method of your currency manager
before saving

Stephen
 
Back
Top