mitch_johnson
Registered User.
- Local time
- Today, 10:28
- Joined
- Mar 18, 2009
- Messages
- 40
hello last week i asked for some code to seperate datafrom one field into three new fields i had some code posted which works great it was:
Me.Cardnum = Left(Me.Text12, 16)
Me.Expirydate = Mid(Me.Text12, 17, 4)
Me.Startdate = Right(Me.Text12, 4)
please could you add to this and tell me how i would do the following i have a magnetic card reader when i scan a credit card i get the following information go into a field:
;6767094116363345=10072010000003757170?
what i want to do is on a click of a button delete the ; from the begining put the first 16 digits (6767094116363345) into a one fild delete the = sign and copy the last 20 digits into another field and finaly delete the ? sign does anybody know how i can do this thanks
Me.Cardnum = Left(Me.Text12, 16)
Me.Expirydate = Mid(Me.Text12, 17, 4)
Me.Startdate = Right(Me.Text12, 4)
please could you add to this and tell me how i would do the following i have a magnetic card reader when i scan a credit card i get the following information go into a field:
;6767094116363345=10072010000003757170?
what i want to do is on a click of a button delete the ; from the begining put the first 16 digits (6767094116363345) into a one fild delete the = sign and copy the last 20 digits into another field and finaly delete the ? sign does anybody know how i can do this thanks