anyone who can help me regarding how to read data from .dbf files recordwise.
suneel kar
0
Junior Poster in Training
Recommended Answers
Jump to PostHi Jireh,
Change this :
Set db = OpenDatabase(App.Path & "\", False, False, "dBase IV;") To :[B]Set db = OpenDatabase(App.Path, False, False, "dBase IV;")[/B]
Regards
Veena
Jump to PostSuneel,
Have you got my Zip file as an attachment?Please do as I have explained to you.
regards
AV Manoharan
Jump to PostDear Suneel,
So it has worked.
Code? That I have already despatched to you.
So nothing wrong with the code.Now I will tell you what and where you went wrong. Before that let me take my lunch.
I will be back on the thread after …
Jump to PostThe Code that I have despatched to you will work, provided you do the following.
Open an new exe project.
create a form with one command button.
Pull down the top menu, project
select references.
4 things are defaultly checked for you.
They are
1. Visual Basic for …
Jump to PostSee the piece of code below.
this will take care of your no of records=no of lines.
cut and paste over the earlier Do and Loop code.Do While Not rs.EOF
For i = 0 To rs.Fields.Count - 2
If rs.Fields(i) = Null Then
tstream.Write (",")
Else
tstream.Write (rs.Fields(i) …
All 67 Replies
AV Manoharan
0
Junior Poster
QVeen72
104
Posting Shark
suneel kar
0
Junior Poster in Training
suneel kar
0
Junior Poster in Training
jireh
3
Posting Whiz
QVeen72
104
Posting Shark
suneel kar
0
Junior Poster in Training
QVeen72
104
Posting Shark
QVeen72
104
Posting Shark
suneel kar
0
Junior Poster in Training
suneel kar
0
Junior Poster in Training
QVeen72
104
Posting Shark
suneel kar
0
Junior Poster in Training
QVeen72
104
Posting Shark
suneel kar
0
Junior Poster in Training
QVeen72
104
Posting Shark
suneel kar
0
Junior Poster in Training
suneel kar
0
Junior Poster in Training
jireh
3
Posting Whiz
suneel kar
0
Junior Poster in Training
suneel kar
0
Junior Poster in Training
suneel kar
0
Junior Poster in Training
jireh
3
Posting Whiz
suneel kar
0
Junior Poster in Training
suneel kar
0
Junior Poster in Training
QVeen72
104
Posting Shark
suneel kar
0
Junior Poster in Training
QVeen72
104
Posting Shark
suneel kar
0
Junior Poster in Training
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.