Solved

Remove Credit Card Input Mask

Posted on 2008-10-23
2
561 Views
Last Modified: 2012-05-05
I have a Credit Card Number text field that has an input mask:
Me.CC_Number.InputMask = "0000\-0000\-0000\-0000;0;_"

An end user wants a query that shows the Credit Card Numbers without the dashes.  How do I get rid of the dashes in a query?
0
Comment
Question by:Sasha42
  • 2
2 Comments
 
LVL 75

Accepted Solution

by:
DatabaseMX (Joe Anderson - Access MVP) earned 500 total points
ID: 22789089


NoDashes: Replace([YourCCNumField],"-","")

mx
0
 
LVL 75
ID: 22789107
Example:

SELECT Table1.FIELD1, Table1.FIELD2, Replace([FIELD3],"-","") AS NoDashes
FROM Table1;

where FIELD3 is the CC number

mx
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question