|
-
Jun 23rd, 2000, 07:08 PM
#1
Thread Starter
Junior Member
Hi
I'm making for the first time an application, where i would like to use database, but I have a lot of problems.
First problem is, that when I write this:
Dim DB As Database
Dim RS As Recordset
Private Sub Form_Load()
Set DB = OpenDatabase(App.Path & "\generali.mdb")
Set RS = DB.OpenRecordset("Generali")
End Sub
I run the application, but there is a note saying "Type mismatch" and the line "Set RS = DB.OpenRecordset("Generali")" becomes yellow. What's wrong?
I would like also that DataCombo would display in a list the first field from a database.
Thanks.
Jure
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
|