473,382 Members | 1,302 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,382 software developers and data experts.

Problem with Import Specifications

Hey Guys,

I'm trying to set up a Macro to Transfer Text into a created table.
Because the table has no headers I'm using an Import Specification to do it.

Unfortunately, The Macro dropdown for "Specification" isn't finding my Import Spec.... Its only finding a specification labeled "1" which I never made...

Anyone know whats going on here?
Apr 6 '11 #1
4 1928
TheSmileyCoder
2,322 Expert Mod 2GB
Most of the people here use VBA instead of macros as it gives a much higher degree of flexibility and control. That includes me, so I have little experience in macros, but since noone else has answered I will give it a go anyway.

I suggest:
Either try to save your import spec once more, and see if it becomes available, or try to use the 1, importspec and see if that is actually what you have saved.

It could be a simple matter (bug) of the developers that they listed the KEY column instead of the name column in the interface.
Apr 11 '11 #2
Hey, Sorry I didn't reply here sooner.

I realised pretty quickly that actually it was my own fault it wasn't working, I was saving the Import Steps not the Specification... Making me an idiot.

I'm using VBA Functions right now and Macro's to Automate some functions when the Database loads by use of Autoexec.

Thanks for the help.
Apr 11 '11 #3
TheSmileyCoder
2,322 Expert Mod 2GB
As long as one is learning, there can be no idiot.

I just thought I would ad a note on the startup thing. If I want for something to run at startup, I attach it to a forms load event, and set that form to be opened at startup. I can set its visibility property to false, so that the standard user does not see it.
Apr 11 '11 #4
Its not actually going to be used to input Data.

What I'm using it for would probably suit excel a little more.

When the Database is opened it deletes a table then imports a CSV file into the deleted table, Queries the data and assigns a value based on criteria then creates a new table based on it.
It then sums up the data and returns a summary.
Apr 11 '11 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: mark | last post by:
In Access 2000 and 2002, I have created an import specification to import the fixed-width recordset below into an existing table. I am having strange problems with the import of the date and time...
3
by: dixie | last post by:
Can I alter or delete an import specification without actually doing an import of data into the database. Can it be done in code? dixie
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...
3
by: holdemfoldem | last post by:
Hi. I'm new to this board and have a few questions about using the method referred to in the topic of this message. I have manually transferred over 1/2 million records from a text file into my...
4
by: BostonNole | last post by:
I am looking for suggestions on the most efficient way to import 7 different fixed width files into a DataSet. Not all at the same time. One file at a time, but the format could change from file...
1
by: lorirobn | last post by:
Hi, I have been manually importing a text file on a weekly basis to an Access table. The data on one field is about to change (happens to be the first field). It was numeric, and is defined as...
2
by: Quique | last post by:
Hello, I've got a problem importing a worksheet Excel into a temporary table in access. All the information is imported but the table is not ordered as it is originally in excel. I'm using a...
2
by: pendell | last post by:
I am working with a client running 2003 Access. Some time ago I built them an import spec for use with the Import Wizard. Several months later, I have been called back and asked to solve a...
1
by: nmin | last post by:
Hi. I'm using Jython in combination with Java, webservices and jboss4.0.4. The webservice is implemented in java and creates an PythonInterpreter object which loads the jython scripts. I...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
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...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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 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.