Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access database Save/update question

Status
Not open for further replies.

Biocide

Programmer
Joined
Oct 12, 2005
Messages
12
Location
SE
Hi

I have a database in Access and Forms showing data from the database. Now when someone changes the data in a textbox and hits my update button I want it to save the new data to the DB.

I can’t get it to work, can someone please explain to me how to do it.
I would really appreciate Commented code
 
we would really appreciate som code you have written yourself and the errors you are getting.

Christiaan Baes
Belgium

I just like this --> [Wiggle] [Wiggle]
 
I have tried this on a button (From a book)

Try
OleDbDataAdapter1.Update(DsInställningar1)
Catch ex As Exception
MsgBox(ex.ToString)
End Try

I dont get any errors it just dont save anything to the database
 
There is no problem reading the data to my textboxes.
The problem is writing the data to the database?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top