I collect information from people via an xls file...columns are fixed
(name and number), rows are variable. It has validation rules for
data entry in some fields.
Currenty I just import the xls into access, and then append the
records from the imported table into the main table.
I'd like to "automate" this process..I'd appeciate your brainstorming
sugestions.
One route I was just thinking of this AM is to have the data entry
directly into ACCESS. But then I'd have to build a data entry process
with signmificant error checking and I would not have the control over
what gets placed into the main table (since i am the gatekeeper).
Not many records get added..maybe 30 monthly.
Jerry 3 1616
The syntax is:
DoCmd.TransferSpreadsheet acImport, acExcelVersion, "tableName",
"FileName", HasFieldNames
So to import a spreadsheet with fieldnames from Excel XP, your
statement would look like:
DoCmd.TransferSpreadsheet, acImport, acSpreadsheetTypeExcel9,
"tblName", "fileName", True
There's more information in Access help on the
DoCmd.TransferSpreadsheet method.
Thanks for the info and lead Steve
I will see how this goes for me
Jerry
On 13 Jan 2006 06:08:13 -0800, "Steve" <th*********@gmail.com> wrote: The syntax is:
DoCmd.TransferSpreadsheet acImport, acExcelVersion, "tableName", "FileName", HasFieldNames
So to import a spreadsheet with fieldnames from Excel XP, your statement would look like:
DoCmd.TransferSpreadsheet, acImport, acSpreadsheetTypeExcel9, "tblName", "fileName", True
There's more information in Access help on the DoCmd.TransferSpreadsheet method.
If it doesn't work well for you, email me, and I will explain a
different way to do it.
`Red This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: EricP |
last post by:
I'm trying to figure out how to print from IE 6.0 using Python's Win32all
com library.
When I do
from win32com.client import Dispatch
from time import sleep
ie =...
|
by: Limey Drink |
last post by:
Hi all,
Firstly :-) , is there any where I can search through archived newsgroup
posts so I am not cluttering up the newsgroup with repeated queries ?
And secondly :-), I know this has...
|
by: Chanus |
last post by:
I'm trying to automate a series of commands in ACCESS to import a data
file in XML format.
Normal procedure:
-Start "MS Access"
-Click "File->Get External Data->Import"
-Choose the appropriate...
|
by: =?Utf-8?B?QWRyaWFuIEpvbmVz?= |
last post by:
Hi,
I need to regularly check an FTP folder for the presence of a file, and if
found, run a routine.
Given that this is all on our ISP's servers, what is the best way to
automate such a...
|
by: cmp80 |
last post by:
Hi everyone,
I will need to start importing data from an XML file into our Access database on a daily basis. I have tried to import the data directly into a table, but it separates out into...
|
by: Bill |
last post by:
I looking for a way to automate an import of a fixed with text file
into access 2003. I know that I can use the DoCmd.TransferText command
to import the file but how do I go about setting where the...
|
by: jamesd0142 |
last post by:
Hi here's the background, i have a process that takes place, there are four manual steps and i want to create a small program that automates them all.
the one im stuck with is this.
a log file...
|
by: Mike Driscoll |
last post by:
Michael Harris wrote:
I don't know why this is happening, so I recommend posting it to the
pywin32 group: http://mail.python.org/mailman/listinfo/python-win32
You might also check out the PAMIE...
|
by: KingKen |
last post by:
Database A is distributed across 21 different agencies in a wide geographic area. They all use Access 2007 to run the database. Head office has a copy of database A and would like to have it store...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
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...
| |