473,471 Members | 4,650 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Weird Import Request

Guys,

Got a bunch of DBF files all named pikcup.dbf. They are all stored
under a directory named c:\reports but are all under multiple sub
directories. I need Access to import all pickup.dbf files into a
single table. I have no idea where to start. Any ideas.

The Pig
Nov 12 '05 #1
2 2524
ia*******@yahoo.com (The Pig) wrote in
news:81**************************@posting.google.c om:
Guys,

Got a bunch of DBF files all named pikcup.dbf. They are all
stored under a directory named c:\reports but are all under
multiple sub directories. I need Access to import all
pickup.dbf files into a single table. I have no idea where to
start. Any ideas.

The Pig


Start with a course in Visual Basic programming. :)

You'll need a do loop that uses the DIR command to get the name of
each subdirectory, add the pickup.dbf filename, use the fullpath
and name to link via ODBC and append the data to your Access
table, unlink the table, and repeat until done.

Bob Q
Nov 12 '05 #2
I long time ago I wrote a simple VB program to recurse through
directories and write the path and file name of every sub directory
and file in a specified folder to a MS Access db table. That list is
the first step that you need in getting MS Access to import the .dbf
files. The second step is writting the code in MS Access to import
the .dbf files from the list and import into a MS Access Table.

If your are not familar with VB. There is a sample program included
with VB called picture viewer. This program gives you the basic
structure of the import tool. You just need to add some loop
structure, and write the results to a txt file, that you can import
into MS Access.

Hope this helps
ia*******@yahoo.com (The Pig) wrote in message news:<81**************************@posting.google. com>...
Guys,

Got a bunch of DBF files all named pikcup.dbf. They are all stored
under a directory named c:\reports but are all under multiple sub
directories. I need Access to import all pickup.dbf files into a
single table. I have no idea where to start. Any ideas.

The Pig

Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: newgene | last post by:
Hi, group, A weird clipboard behavior for your help: ==============Code============== from Tkinter import * import tkMessageBox root=Tk() root.withdraw() root.clipboard_clear()
5
by: Tommytrojan | last post by:
Hi, I have been using Python for a while but today I came across a really strange behavior: While poking around in Queue.py due to problems with importing this module from a thread I got an...
1
by: Dees | last post by:
Hi, I am facing a weird problem with HTTPS and Request.Url.AbsoluteUri in my ASP.NET application. Here is the scenario - 1. I have a menu page (Default.aspx), which has the following anchor -...
5
by: Pupeno | last post by:
Hello, I am experiencing a weird behavior that is driving me crazy. I have module called Sensors containing, among other things: class Manager: def getStatus(self): print "getStatus(self=%s)"...
11
by: Cecil Westerhof | last post by:
I have a cgi-script dat uses the modules cgi, os, sys and time. Offcourse I can not time the time used to import time, but os and sys do not take more as a millisecond. My script itself takes 3 or...
10
by: Ben | last post by:
Hi, i have a weird problem and i don't know who is responsible for this: IIS, excel or asp.net. My problem: we use an asp.net 2.0 application under IIS 6.0 (server 2003 sp2) which must write...
6
by: itsolution | last post by:
Hi folks, Could you shed some light on this issue? my program is running on Freebsd as a daemon. When user sends a request, it forks itself and lets its child process handles the request....
2
by: carlos123 | last post by:
im pretty new to java. this might sound like a weird question but! how do i add this code class FileWrite { public static void main(String args) { try{ // Create file ...
0
by: RossGK | last post by:
I've been using pydev for a short while successfully, and Django with postgresql as well. psycopg2 is part of that behind the scenes I would imagine, to make django work. Now I'm trying to use...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.