User Profile
Collapse
-
Ok thanx again. I hope a permanent solution will be available. -
thnx 4 help. I managed to find a way to save data from a form to access.mdb. I moved the db to a debug folder. I'm not sure whether its the right thing to do but it works.Leave a comment:
-
-
Problem saving data to MS Access
Here is my code for a “Save” button on my VB Form:
...Code:Dim conStr As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\TafitaDB.mdb;Persist Security Info=True" Dim objCon As New OleDbConnection(conStr) Dim sqlInsert As String = "insert into service values(@service_id,@service_type,@price)" Dim cmd As New OleDbCommand(sqlInsert, objCon)
No activity results to display
Show More
Leave a comment: