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

TransferSpreadsheet command crashes application--SP2 needed?

re:Access 2003
TransferSpreadsheet has worked in my app for weeks now.
Now, the day I was to put in production (today) it crashes the app,
and users are livid...but not more than me though..embarrassed is more
like it

As an outside test, I built a "DummyApp.mdb" with a form, and a
command button that only performs a transferspreadsheet on the same
Excel file as my production app is using. The DummyApp works fine.
what has caused this.
Since the dummy app worked, I went back and have painstakingly walked
the code tirelessly trying to find if there is anything else causing
this.
The excel file layout has not changed at all.

Not sure what the problem is or how to even fix it, short of just
linking to the sheet directly and forgetting TransferSpreadsheet
command all together. Why does this command work in one .mdb but not
another? There is no fancy code around my transferspreadsheet code in
my problem app.

I came across a "post service pack 2 hotfix for Access" and printed
it. It referenced there was a problem with TransferSpreadsheet
crashing an application.
So, I thought well, I must need this SP. I went searching on the MS
website. Clicked a link for downloading SP2 and was taken to this
page:
http://office.microsoft.com/en-us/do...CL100570421033

There HAS to be a faster way to get to the SP's and subsequent
hotfixes for Access so I can install them?

I am very nervous about decompiling/recompiling. Never done it yet.
Don't want to destroy the application doing this. Despite my
hesitations, is this a viable solution to this problem?

Many thanks.

Aug 1 '07 #1
2 2027
On Aug 1, 10:00 am, rlntemp-...@yahoo.com wrote:
re:Access 2003
TransferSpreadsheet has worked in my app for weeks now.
Now, the day I was to put in production (today) it crashes the app,
and users are livid...but not more than me though..embarrassed is more
like it
The first rule of Access Applications is:
"When you deliver, it won't work!"

If you haven't felt the heat and sweat creeping up over your shirt
collar, and wanted the floor to open and swallow you up, you're not
really a Developer, yet. If you haven't driven away from the client's
building saying, "Oh my God, what an a__hole I am", you're either the
Messiah or a neophyte.

The thing is, I've never had a client yet who reproached me, or didn't
give me a second, third or even fourth chance.
I am very nervous about decompiling/recompiling. Never done it yet.
Don't want to destroy the application doing this. Despite my
hesitations, is this a viable solution to this problem?
Who knows? I have never found decompile helpful, but others think it's
the greatest thing since Lauren Bacall. I save everything as text and
reload it.
But what could decompile hurt? You have only one copy of the
Application? Make another. Make several others. Then do the decompile
on one. What could it hurt?

When I develop I create a subfolder called Safety. At the end of each
day, or hour, or change, depending on the nature of the application I
make a copy of the applcation as eg ESO200708011011.mdb, and I backup
all the objects as Text. Every night I back these new safeties up to
an external hard drive and to an off-site computer. Every month or so
I put them on a CD and put the CD in a safety-deposit box. For some
applications I have literally hundreds of dated backups. (Of course,
my apps are small; I like it that way).

You might get more help on the actual problem if you provided more
information than "crashes the app"; I can think of several ways an app
might crash. BTW, does it crash on the same computer where you tested
it, or on another computer?

Aug 1 '07 #2
>>BTW, does it crash on the same computer where you tested it, or on another computer?

It crashed on one computer only. There were other issues with that
machine and a re-image fixed it.

I have taken your "safety" folder to heart, and created one for
myself. Thank you for that tip.

Going forward, I am putting a task item in Outlook each time I post a
question, so that I do not forget to reply. It's September 14th, this
post was the originally the first of August, which makes me appear
ungrateful for your reply. Rest assured, nothing could be further
from the truth. "Plain and simple screw up" is my excuse on this
one. :-(
I was late.....(oh so very late) on this reply, and I sincerely
apologize. :-)
Sep 14 '07 #3

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

Similar topics

8
by: Joe | last post by:
I'm using Python 2.4 on Windows XP SP2. I'm trying to receive a command line argument that is a newline (\n) Here is the command line to use sample.py "\n" Here is a sample.py script
2
by: mcnewsxp | last post by:
how can i specify a particular worksheet using the docmd transferspreadsheet? thanks, mcnewsxp
1
by: Nathan Bloom | last post by:
Hi, I have a procedure that transfer data from an Excel spreadsheet to an Access 2000 table. There is a start date and an end date in the range specified. One of the date fields transfers...
3
by: user_5701 | last post by:
Hello, I'm getting an error with a Docmd.Transferspreadsheet line of code: DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel2000, "tblTest", pathAndFilename, True The above line...
4
by: Tom Louchbaum | last post by:
I try to use this command to import a spreadsheet "DoCmd.TransferSpreadsheet acImport, 8, tablename & " -tbl", DIR & "Book2.xls", True" and it errors out. If I try to import that same...
1
by: keri | last post by:
Hi, I'm automating an import done manually through Get External Data I have assigned the below code to the onclick event of a command button on a form but I am getting errors. ...
3
by: sranilp | last post by:
Hey All, Actually I need to export the data from Access to Excel particular spreadsheet(ie.Raw Data),so I was using Docmd.Transferspreadsheet but in this syntax where i can give the spreadsheet...
2
by: RZ15 | last post by:
Hi, I am trying to use the transferspreadsheet command to transfer a table into an excel file i have. I'm using the following code: Private Sub cmdOK_Click() 'Run Make-Table query...
5
by: D.Stone | last post by:
I'm getting a problem with importing an Excel spreadsheet into a table in a SQL Server 2000 back-end. I'm doing this in VBA in an onClick event proc in an Access 2003 project. The target table's...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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
Oralloy
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,...
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.