Easy enough, since you are responsible for the encoding of
the card.
The card reader is dumb, in a technical sense. When you scan
the card, the card reader merely sends the contents of the magnetic
stripe to the application, just as if sent by a really fast typist.
Now, becuase of this, you, as the programmer, will need to parse
the text string that is returned in order to extract the distinct
field values.
To start, I recommend hooking the mag stripe reader to your
local workstation. Open up notepad, and then scan the card. What do
you get?
In my application, I record ONLY numbers. Therefore, upon
scan, I immediately apply logic that removes any non-numeric
characters. I do that like this:
#ReReplace(Form.SannedData,"[^0-9]","","ALL")#
This removes the customary begin and end characters from the
scanned data, too.
Since you are including multiple fields, I predict that you
will wind up with a delimited list of values on that card. This is
totally dependent on the way you set up the writing on the card
though. Only you can answer how you did it.
Next step is to parse the value that is returned, and then
insert those values into your database.
Ask questions here if you need more help.