Credit Card Validation

rkulik

New member
Local time
Today, 23:35
Joined
Apr 26, 2001
Messages
5
Anyone know how to validate a field that contains a credit card number? Using the after update event?
 
What kind of validation do you want to do?

If you just want to validate that it's numeric, and has a certain number of characters, use the BeforeUpdate event proc.

Hope this helps,

Peter De Baets
Peter's Software - MS Access Tools http://www.peterssoftware.com
 
if you mean validate the actual number, I have the script somewhere that can validate whether a credit card number is an actual Visa, Discover, Mastercard, ect. number. Then it checks the expiration to assure that the card isn't expired. I don't have this in VB or Access code however, because I never needed it, but the formulas are pretty easy to figure out.
 
Just so the number is not keyed in incorrectly. Some sort of validation would be nice
 
Just finished making a sample - email me if your interested.
 
Hi Des,

Another nice Sample,
Thanks For Sharing

Skip
 

Users who are viewing this thread

Back
Top Bottom