DBASE III- having problems reading dBASE files to VB 
Author Message
 DBASE III- having problems reading dBASE files to VB

Is there an easy way to read dBASE III files into VB?.
I have a dBASE III+ file called mcwefile with four fields
examname  40 characters
examid 6 characters
correctans 50 characters
nq 2 characters

there are five records in the file. When I use the opendatabase
procedure i get some of the fileds but the rest is garbage.

has anyone had a similar problem reading dBASEIII files to VB and
has anyone worked out a simple procedure for accomplishing this task




Fri, 31 Oct 1997 03:00:00 GMT  
 DBASE III- having problems reading dBASE files to VB

Quote:

>Is there an easy way to read dBASE III files into VB?.
>I have a dBASE III+ file called mcwefile with four fields
>examname  40 characters
>examid 6 characters
>correctans 50 characters
>nq 2 characters

>there are five records in the file. When I use the opendatabase
>procedure i get some of the fileds but the rest is garbage.

>has anyone had a similar problem reading dBASEIII files to VB and
>has anyone worked out a simple procedure for accomplishing this task



Have you used the SetDataAccessOption statement to point to the XBS110 or
XBS200.DLL driver? You will also need an appname.ini file to point to and
set up this driver and a filename.inf file to identify any indexes. See
your VB pro docs for further information (pg 140 of Professional Features
Book Two).

Is the data file corrupt? If you do not have Dbase, you can check this by
loading it as an excel spreadsheet.

Doug Miller



Fri, 07 Nov 1997 03:00:00 GMT  
 DBASE III- having problems reading dBASE files to VB
Jim Bruno said to ALL  about DBASE III-  having problems reading dBASE
files to VB, on 15 May 95  16:32:17:-

JB>Is there an easy way to read dBASE III files into VB?.
JB>I have a dBASE III+ file called mcwefile with four fields
JB>examname  40 characters
JB>examid 6 characters
JB>correctans 50 characters
JB>nq 2 characters

JB>there are five records in the file. When I use the opendatabase
JB>procedure i get some of the fileds but the rest is garbage.

JB>has anyone had a similar problem reading dBASEIII files to VB and
JB>has anyone worked out a simple procedure for accomplishing this task

Have a look in the Programmers Guide for the Chapter on using the
DataControl.  It's all there for dBase and others.

Regards, Graham.
CIS# 100033,3647



 * Wave Rider 1.20 # 332 *
... SOTIDI SOFTWARE, PO Box 1747, NORTH SYDNEY NSW 2059, AUSTRALIA
~~~ Blue Wave/RA

-----------------------------------------------------------------------------

This message was processed by RAuucp from Merlin Systems Inc.
-----------------------------------------------------------------------------



Wed, 12 Nov 1997 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. I can't read dBase III file in Visual Basic

2. VisualBASIC dBASE III Database reading problems

3. open dbase type dbase III

4. I have a problem with VB 3.0 and DBase III

5. VB 6.0 and dBase III files

6. VB# won't access dbase III file

7. VC read dBase III

8. Transferdatabase to dBase III problem

9. saving Access Tables to dbase III file format

10. VB6 code for opening dBASE III files

11. Open dBASE III-DB with non-standard file extension in VB5

12. Creating dbase III database file

 

 
Powered by phpBB® Forum Software