|
-
Mar 20th, 2000, 08:28 AM
#1
Thread Starter
Lively Member
hi everyone im recently new to vb and would like to know how i would save data from my vb application into an access
database i know how to acces the data but not how to
save data into access database help help??
here is my code to look at my data??
general declarations
Dim db As Database
Dim rs As Recordset
Private Sub Command1_Click()
Set db = OpenDatabase("c:\dbbasics\mydb.mdb")
Set rs = db.OpenRecordset("tblmytable", dbOpenSnapshot)
Label1.Caption = rs!Mytext
Label2.Caption = rs!MyName
End Sub
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|