473,402 Members | 2,050 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

StartRow in Import/Export Specifications

I have created a couple of Importspecifications which I use in my code
to let users import files into my Access database. In the code I set
the property 'HasFieldNames' of the function 'DoCmd.TransferText' to
False. But when users import files, for some files it skips the first
record despite using the setting 'HasFieldNames' at 'False'.

When I look in the table MSysIMEXSpecs I can see a column Startrow
which contains a 1 for these files...

1) How can I change this? It doesn't seem possible by using the
'Advanced' button in the import sequence.
2) How can I influence this setting when I create an Import
specification?
Grtz,
Freddy

Jan 19 '06 #1
1 5579
Freddy:

One option for changing the StartRow value is by using a query. For
example:

UPDATE MSysIMEXSpecs SET MSysIMEXSpecs.StartRow = 0
WHERE (((MSysIMEXSpecs.SpecID)=1));

Of course, you will need the appropriate permissions on the table. I
believe the StartRow value toggles between zero and one in the wizard
depending on the value of the HasFieldNames checkbox, although I believe it
will accept other values that are set manually.

--
David Lloyd
MCSD .NET
http://LemingtonConsulting.com

This response is supplied "as is" without any representations or warranties.
"Freddy" <fr*************@gmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
I have created a couple of Importspecifications which I use in my code
to let users import files into my Access database. In the code I set
the property 'HasFieldNames' of the function 'DoCmd.TransferText' to
False. But when users import files, for some files it skips the first
record despite using the setting 'HasFieldNames' at 'False'.

When I look in the table MSysIMEXSpecs I can see a column Startrow
which contains a 1 for these files...

1) How can I change this? It doesn't seem possible by using the
'Advanced' button in the import sequence.
2) How can I influence this setting when I create an Import
specification?
Grtz,
Freddy
Jan 20 '06 #2

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

Similar topics

3
by: Trev | last post by:
Is there a way to create/manipulate import specs in VBA?
1
by: PeteCresswell | last post by:
I'm just starting in 2003, hoping to find a more direct route to editing/listing Import Specifications than in 2000 - where you have to initiatate an import, choose "Advanced", and then load a...
4
by: pietlinden | last post by:
I almost feel stupid posting this, but maybe someone else understands what's going on here. I am importing a delimited text file, and have saved an import specification so that for the user the...
2
by: Siu | last post by:
Hi, I use the following code to export and import a file Excel from resp. into a Web page with the following code: //EXPORT Response.Clear(); Response.Buffer = true; Response.ContentType =...
1
by: David Berry | last post by:
Hi All. I'm looking for any help or sample code that can show me how to make a file import wizard in ASP.NET (VB preferred) like the one that MS Access uses. I'm working on a web site where the...
3
by: Iavor Raytchev | last post by:
Hello, We a situation with a central database that contains the data that needs to be presented at N off-line terminals (N can be 5 000 can be 15 000). Each terminal presents unique data. The...
10
by: Niklas | last post by:
Hi Before I start coding I need to be sure that nobody else has not done it yet and that I can use it. I need an import utility which import data from Excel to a database or some object in...
0
by: jen78 | last post by:
Hi, I am new to Oracle administration and hope someone can help me out on this as i am struggling to make it work.... I am doing development work using oracle database on my own development...
0
by: A3AN | last post by:
Hi. I receive a database backup on a daily basis. I then import this dump on another server which I use for software development. There is two db's being hosted on this server. We test software...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
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...
0
marktang
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,...
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...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.