I have a bound textbox which has an input mask “000000-00-0000”. The data appeared okay when viewed in Access. However, when I exported the data to Excel, the separator masks “-” were gone, and the data appeared as, say, 1234567890, instead of 123456-78-90. How would I export my bound values as 123456-78-90 instead of 1234567890, i.e, how do I export the separator mask “-” too?
![]() |
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 |
-
Exporting separator mask? (A2K, SP3)
Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Exporting separator mask? (A2K, SP3)
- This topic has 2 replies, 2 voices, and was last updated 22 years, 3 months ago.
Viewing 0 reply threadsAuthorReplies-
WSHansV
AskWoody LoungerMarch 20, 2003 at 8:33 am #662564You’ll have to create a query that reconstructs the input.
You can specify whether the separators in a mask are stored in the field or not, default is not to store them. So in your case, the data have been stored without the separators.
In the query, create a calculated field:
FieldWithSeparators:Left([MyField],6)&”-“&Mid([MyField],7,2)&”-“&Right([MyField],4)
Substitute the appropriate field name for MyField.
For future reference: if you want to store separators in a field, add “;0” after the mask. A mask “00-00” will only store 4 digits (1234), whereas a mask “00-00;0” will store 2 digits, followed by a hyphen and 2 more digits (12-34).
-
WSlesoch
AskWoody Lounger
-
Viewing 0 reply threads -

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
-
National scam day
by
Susan Bradley
29 minutes ago -
macOS Tahoe 26 the end of the road for Intel Macs, OCLP, Hackintosh
by
Alex5723
4 hours, 53 minutes ago -
Cyberattack on some Washington Post journalists’ email accounts
by
Bob99
6 hours, 13 minutes ago -
Tools to support internet discussions
by
Kathy Stevens
13 hours, 3 minutes ago -
How get Group Policy to allow specific Driver to download?
by
Tex265
11 hours, 24 minutes ago -
AI is good sometimes
by
Susan Bradley
13 hours, 25 minutes ago -
Mozilla quietly tests Perplexity AI as a New Firefox Search Option
by
Alex5723
3 hours, 28 minutes ago -
Perplexity Pro free for 12 mos for Samsung Galaxy phones
by
Patricia Grace
1 day, 13 hours ago -
June KB5060842 update broke DHCP server service
by
Alex5723
1 day, 12 hours ago -
AMD Ryzen™ Chipset Driver Release Notes 7.06.02.123
by
Alex5723
1 day, 16 hours ago -
Excessive security alerts
by
WSSebastian42
7 hours, 5 minutes ago -
* CrystalDiskMark may shorten SSD/USB Memory life
by
Alex5723
2 days, 1 hour ago -
Ben’s excellent adventure with Linux
by
Ben Myers
3 hours, 2 minutes ago -
Seconds are back in Windows 10!
by
Susan Bradley
1 day, 12 hours ago -
WebBrowserPassView — Take inventory of your stored passwords
by
Deanna McElveen
6 hours, 32 minutes ago -
OS news from WWDC 2025
by
Will Fastie
16 hours, 50 minutes ago -
Need help with graphics…
by
WSBatBytes
21 hours, 4 minutes ago -
AMD : Out of Bounds (OOB) read vulnerability in TPM 2.0 CVE-2025-2884
by
Alex5723
2 days, 17 hours ago -
Totally remove or disable BitLocker
by
CWBillow
1 day, 16 hours ago -
Windows 10 gets 6 years of ESU?
by
n0ads
1 day, 19 hours ago -
Apple, Google stores still offer China-based VPNs, report says
by
Nibbled To Death By Ducks
3 days, 4 hours ago -
Search Forums only bring up my posts?
by
Deo
12 hours, 38 minutes ago -
Windows Spotlight broken on Enterprise and Pro for Workstations?
by
steeviebops
3 days, 15 hours ago -
Denmark wants to dump Microsoft for Linux + LibreOffice
by
Alex5723
3 days, 8 hours ago -
How to get Microsoft Defender to honor Group Policy Setting
by
Ralph
3 days, 16 hours ago -
Apple : Paragon’s iOS Mercenary Spyware Finds Journalists Target
by
Alex5723
4 days, 2 hours ago -
Music : The Rose Room – It’s Been A Long, Long Time album
by
Alex5723
4 days, 3 hours ago -
Disengage Bitlocker
by
CWBillow
3 days, 17 hours ago -
Mac Mini M2 Service Program for No Power Issue
by
Alex5723
4 days, 5 hours ago -
New Win 11 Pro Geekom Setup questions
by
Deo
12 hours, 27 minutes 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.