|
-
May 31st, 2002, 09:13 PM
#1
Thread Starter
Member
trouble with this very very basic database
Cn.Provider = "Microsoft.Jet.OLEDB.4.0;"
Rs.Source = Path + "\Brakes.mdb"
Cn.ConnectionString = "Data Source = " + Path + "Brakes.mdb; "
Cn.Open
Rs.Open "select * from Data", Cn
If Not Rs.EOF Then
TextMake.Text = Rs.Fields("Make").Value
example...
If the field "Make" in the database does not contain a data value then there will be an error.
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
|