hi
i need a code for update a record in vb6
i am using ms acess and ado
asrith001
0
Newbie Poster
Recommended Answers
Jump to Postand what is the code that you are working on ?
Jump to PostYour code looks fine. What error are you getting and where?
Jump to PostCode as follow...
Private Sub Form_Load() Dim cn As ADODB.Connection Dim rs As ADODB.Recordset Set cn = New ADODB.Connection Set rs = New ADODB.Recordset Dim strSql As String cn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\item.mdb" cn.Open strSql = "SELECT * FROM t1" rs.CursorLocation = adUseClient rs.Open …
All 11 Replies
debasisdas
580
Posting Genius
Featured Poster
brylle
-2
Junior Poster in Training
asrith001
0
Newbie Poster
AndreRet
526
Senior Poster
brylle
-2
Junior Poster in Training
dimasalang
1
Light Poster
asrith001
0
Newbie Poster
AndreRet
526
Senior Poster
asrith001
0
Newbie Poster
debasisdas
580
Posting Genius
Featured Poster
AndreRet
526
Senior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.