|
-
Feb 20th, 2006, 06:57 AM
#1
Thread Starter
Lively Member
[RESOLVED] Need help connecting database to VB application
Can anyone please help me with connecting my databse to my VB application (not quite finished yet)?
I have the connection string saved as a public constant (in module) called get_customer so i can reuse it, but I am getting errors when running the program.
It works if i use Adodc1.connectionstring = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & App.Path & "\FFES.mdb" and Adocdc1.recordsource = "SELECT * FROM Customer" but it still doesn't display in text boxes or labels
If anyone could please have a look and tell me where i'm going wrong iwould be very grateful.
I haven't done anything differently to another vb application i made about a year ago and that still works OK becuase I have compared them side-by-side.
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
|