Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Access to dbf
In order to make phone numbers more accurate I found the official Nanpa
Database at

http://www.nanpa.com/npa/allnpas.zip

It is an access file.

Once a month I want to download the database and convert it to a text file
or a dbf.

Unfortunately I have never used access and no idea how to do that. does
anybody know a small tool ? I want to do that automated. Any big commercial
tool would be a complete overkill.

I work with clipper an xpp.

Thank you so much for your help !

Stephan



Report this thread to moderator Post Follow-up to this message
Old Post
Stephan Koenig
05-18-05 01:55 AM


Re: Access to dbf
hi,
 
>
> Thanks Rob. I just guess that can not be automated.

if you use xpp v1.9.317, you can use "ActiveX" to read it into Excel and
save it as DBF


... donīt ask for ready working sample yet :)

greetings by OHR
Jimmy



Report this thread to moderator Post Follow-up to this message
Old Post
AUGE_OHR
05-18-05 08:55 AM


Re: Access to dbf
"John F. Eldredge" <john@jfeldredge.com> wrote in message
 news:1kja811l88cdmqdk9qkteeq37gfhh3mev3@
4ax.com...
> On Fri, 13 May 2005 18:59:37 -0400, Joe Wright
> <joewwright@comcast.net> wrote:
> 
>
> Rather than trying to figure out the format of the Access MDB file, I
> would recommend using Microsoft's ADO library (part of MDAC) to read
> the contents of the database.
>

i prefer vbscript solution.
it is extremely easy to integrate with access and dbase, and has clear logic
and you may
put vbscript code into task schedular for automatic execution.

for general data management you need ado, for acces you need [built in]
access driver, for dbase
you may use either vfoxpro ole db driver or or xscript dbf com object.

the whole thing is not more complicated than copying one database to another
within clipper code.









Report this thread to moderator Post Follow-up to this message
Old Post
sali
05-18-05 08:55 AM


Re: Access to dbf
"John F. Eldredge" <john@jfeldredge.com> wrote in message
 news:1kja811l88cdmqdk9qkteeq37gfhh3mev3@
4ax.com...
> On Fri, 13 May 2005 18:59:37 -0400, Joe Wright
> <joewwright@comcast.net> wrote:
> 
>
> Rather than trying to figure out the format of the Access MDB file, I
> would recommend using Microsoft's ADO library (part of MDAC) to read
> the contents of the database.
>

i prefer vbscript solution.
it is extremely easy to integrate with access and dbase, and has clear logic
and you may
put vbscript code into task schedular for automatic execution.

for general data management you need ado, for acces you need [built in]
access driver, for dbase
you may use either vfoxpro ole db driver or or xscript dbf com object.

the whole thing is not more complicated than copying one database to another
within clipper code.









Report this thread to moderator Post Follow-up to this message
Old Post
sali
05-20-05 08:55 PM


Re: Access to dbf
On Sun, 15 May 2005 22:26:27 +0100, "sali" <sali@tel.net.ba> wrote:

>"John F. Eldredge" <john@jfeldredge.com> wrote in message
> news:1kja811l88cdmqdk9qkteeq37gfhh3mev3@
4ax.com... 
>
>i prefer vbscript solution.
>it is extremely easy to integrate with access and dbase, and has clear logi
c
>and you may
>put vbscript code into task schedular for automatic execution.
>
>for general data management you need ado, for acces you need [built in]
>access driver, for dbase
>you may use either vfoxpro ole db driver or or xscript dbf com object.
>
>the whole thing is not more complicated than copying one database to anothe
r
>within clipper code.

My point, however, is that it is easier to use a driver to retrieve
and manipulate the contents of the Access database, rather than trying
to reverse-engineer it, regardless of what language you are working
in.  The internal structure of Access databases isn't publicly
documented anywhere that I know of, and is presumably complex, given
that it can contain forms, modules, tables, indexes, etc.  It isn't
clear whether or not Stephan Koenig currently owns a copy of Access;
if he doesn't, a solution that has to run within Access would be less
than ideal.

--
John F. Eldredge -- john@jfeldredge.com
PGP key available from http://pgp.mit.edu
"Reserve your right to think, for even to think wrongly is better
than not to think at all." -- Hypatia of Alexandria


Report this thread to moderator Post Follow-up to this message
Old Post
John F. Eldredge
05-20-05 08:55 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Clipper archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 10:07 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.