Dear Sir,
Please give the idea for linking VB with any Database(Foxpro Or Ms Access) and how can we print the required information from it in a particular format?

Recommended Answers

All 4 Replies

what are you using to generate the report ?

data report or crystal report ?

you can do it two way. manually do it by its properties. just connect the database. or you do it by code. actually how you want to do it?

I guess you have to use an Option Explicit

Dim conn As New ADODB.Connection
Dim cmd As New ADODB.Command
Dim rs As ADODB.Recordset
Dim sConnString As String


does it help?

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.