-
WShawksway
AskWoody LoungerI know, but when you call an export specification from VBA, you are using a separate set of variables … why can’t I see the export wizard wherein I can go to advanced and build a spec. ???
-
WShawksway
AskWoody LoungerYeah … I use the “advanced” button to access the specifications for an Import … I can’t find the Export … where do you get to the default EXPORT specification .. It’s as if I’m missing some wizards … I tried remove install on the CP and it swears I have everything. ??
-
WShawksway
AskWoody LoungerHans … I’m using ACC 2003, and I want to build an EXPORT specification for an ascii delinited file format (just tab delimited) ; two questions .. how do I get my arms around the “default” speciication and edit it… 2) the export “Wizard” doesn’t appear in the database, every time I try to export, the windows dialog pops up … I’m missing something here
Wayne
-
WShawksway
AskWoody LoungerHans, I found the problem .. parsed by another procedure call .. My error in not seeing it earlier … nested in a mess of code. Thanks to both of you … Wayne ps I did learn something, though “a text field definition in MS Access, is treated a little different than a Memo field … that is, when importing Excel”
-
WShawksway
AskWoody LoungerPeter, it’s just a “DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9, szTarget, szPath, True, szRange” … comes in normally to a “cache table”, drfined as text columns or a Memo field (these people write paragraphs where two sentences would work fine). But, occasionally, it goes nuts, and jambs all the words together, .. than at other times it uses nomal spacing. I can’t put my finger on the trigger that’s causing the problem. Many Excel files, all the same Template, just different text in the cells. Regards
-
WShawksway
AskWoody LoungerI changed the queries to “select” queries to get away from any “parameter’ issues .. I am unable to het a correct recordset count … one time it’s 598, the next zero, maybe even a ‘1’ … it’s all over the place. I’ve made sure to close the recordset between requests and set the rescordset object to nothing … there’s no consistency in this ??? Regards Wayne
-
WShawksway
AskWoody LoungerI hope you are appreciated … I went too MS, in the meantime, to see if I could dig out the fault mechanism … sure enough …”Calling the Requery method of a form’s recordset (for example, Forms(0).Recordset.Requery) can cause the form to become unbound. To refresh the data in a form bound to a recordset, set the RecordSource property of the form to itself (Forms(0).RecordSource = Forms(0).RecordSource).” … That’s their way of saying it’s “unstable” ! LOL But the second sentence is interesting … we learn something every day. Thanks Hans
-
WShawksway
AskWoody LoungerI realize that, Hans, but for sake of brevity I skipped over alot of code
I have an open form, I have a user select a query name in a CBO, I take that name (a string) and “on update” for the CBO I want to count potential records, as if, that ‘parameterized’ query were actually run … I can place the query name in the form’s RecordSource, and do a requery .. but I get ‘iffy’ results … sometimes the correct count, else a “1” (that’s non-sense)… it’s flippin’ me out. Regards
-
WShawksway
AskWoody LoungerHmmm … let’s make this a little broader ! Hans, if the query is ‘parameterized’ with a question msgbox, for example [What store do you want ?] in the query criterion, why do I find bad recordsets (i’m counting records to post a count on the form) that compute Recordset.count = 1 … I tried the clone and it’s a mirror of the recordset.
-
WShawksway
AskWoody LoungerHey Hans … I owe you one, so here goes:
Excel CAN be imported by Access, and the user ‘thinks’ he has a short date … BUT … once brought into a table; the format may change (we all are aware of this cute little idiosyncrasy) however, IF the table is already existing AND they import what they think is a short date’ to a SHORT DATE column (defined pre-import); it’s pot luck, Buddy. Look at the import data, sometimes you get a ‘date-time” string, not a short date !!! Oh, and that date-time string (or other dat-formats) will not be found be a SQL or Query that is looking for a SHORT DATE …. you can chase a lot of rabbits with that little screw up …. MS needs to solve this’ not expect us to add alot of extraneous check code!! regards Wayne
-
WShawksway
AskWoody LoungerHi Rory … yeah, MS Access can create the Excel object and send the data … works great … but I have not had an interest in coding Excel to ‘pull’ the data … defeats the purpose of the exercise “the client is using access”, he doesn’t want to close access and open Excel just to get the data into a workbook … Nice thought, but it’s just now workable. Thanks again .. Wayne
-
WShawksway
AskWoody LoungerYeah, thanks Nick … I have a client database, they want to generate “what if” spreadsheets, so it’s a natural to ‘push’ a dataset out of MS Access. I’m not lazy, but when all is needed is a one time Excel WB with one tab, I see no sense in creating an Excel Object and all the code to make it. TransferSpreadsheet ‘ought’ to work
Inasmuch as Excel will recognize a CSV formatted document and open it normally, that’s probably the way to go. I’m like you, I think the function call is not releasing .. I may play with the closing and release of the form object, just to see if that works. Regards Wayne
-
WShawksway
AskWoody LoungerYeah … I know it’s an issue … but ever since ACC2000, the product has been pretty stable. I don’t make CSV files (as a work around) because the clients want Excel; and it should WORK ! Not yelling, you understand, but this is pretty simple stuff
Is there a way to “force” the O/S to delete the file outside of the explorer window ??? Kind Regards Wayne
-
WShawksway
AskWoody LoungerHey Hans, I looked at this post … see post 628,902. Looking at his code, he’s evoked an Access object, then used that object’s, internal, object methods to ‘close’ the database …. I’m no expert on that, but he still has an ‘open’ instance of Access on his hands, so that will screw up any later methods … That’s not exactly the same as my problem. Regards Wayne
-
WShawksway
AskWoody LoungerHans. it’s a local drive on a machine with XP sp-2 … so I’m stumped. There must be something still ‘clinging’ to the created file from MS Access, I suspect the MS Access DLL (whichever one) has not recognized a completion of the worksheet, and it’s waiting on a ‘return code’ … and the cleanup routine in Access does not ‘close’ the Excel file when Access is closed. MS knows of the problem, but I get zero interest solving the problem.
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
EchoLeak : Zero Click M365 Copilot leak sensitive information
by
Alex5723
2 hours, 1 minute ago -
24H2 may not be offered June updates
by
Susan Bradley
2 hours, 10 minutes ago -
Acronis : Tracking Chaos RAT’s evolution (Windows, Linux)
by
Alex5723
14 hours, 34 minutes ago -
Turning off OneDrive
by
CWBillow
19 hours, 4 minutes ago -
June 2025 updates are out
by
Susan Bradley
1 hour, 44 minutes ago -
Mozilla shutting Deep Fake Detector
by
Alex5723
1 day, 5 hours ago -
Windows-Maintenance-Tool (.bat)
by
Alex5723
14 hours, 43 minutes ago -
Windows 11 Insider Preview build 26200.5641 released to DEV
by
joep517
1 day, 7 hours ago -
Windows 11 Insider Preview build 26120.4250 (24H2) released to BETA
by
joep517
1 day, 7 hours ago -
Install Office 365 Outlook classic on new Win11 machine
by
WSrcull999
1 day, 7 hours ago -
win 10 to win 11 with cpu/mb replacement
by
aquatarkus
23 hours, 45 minutes ago -
re-install Windows Security
by
CWBillow
1 day, 11 hours ago -
WWDC 2025 Recap: All of Apple’s NEW Features in 10 Minutes!
by
Alex5723
1 day, 14 hours ago -
macOS Tahoe 26
by
Alex5723
1 day, 9 hours ago -
Migrating from win10 to win11, instructions coming?
by
astro46
2 hours, 7 minutes ago -
Device Eligibility for Apple 2026 Operating Systems due this Fall
by
PKCano
23 hours, 36 minutes ago -
Recommended watching : Mountainhead movie
by
Alex5723
1 day ago -
End of support for Windows 10
by
Old enough to know better
7 hours, 51 minutes ago -
What goes on inside an LLM
by
Michael Covington
18 hours, 29 minutes ago -
The risk of remote access
by
Susan Bradley
1 hour, 42 minutes ago -
The cruelest month for many Office users
by
Peter Deegan
2 hours, 21 minutes ago -
Tracking protection and trade-offs in Edge
by
Mary Branscombe
1 day, 4 hours ago -
Supreme Court grants DOGE access to confidential Social Security records
by
Alex5723
2 days, 13 hours ago -
EaseUS Partition Master free 19.6
by
Alex5723
1 day, 13 hours ago -
Microsoft : Edge is better than Chrome
by
Alex5723
3 days, 2 hours ago -
The EU launched DNS4EU
by
Alex5723
3 days, 15 hours ago -
Cell Phone vs. Traditional Touchtone Phone over POTS
by
280park
3 days, 5 hours ago -
Lost access to all my networked drives (shares) listed in My Computer
by
lwerman
3 days, 20 hours ago -
Set default size for pasted photo to word
by
Cyn
4 days, 2 hours ago -
Dedoimedo tries 24H2…
by
Cybertooth
3 days, 14 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.