Section 2. methods, Gettrack, Getfname – MagTek MTKBDWEDGE.OCX User Manual
Page 9
5
SECTION 2. METHODS
GETTRACK
This method returns card data from the specified track.
Syntax
KbdWedge.GetTrack(TrackNum As Integer) As String
The GetTrack method syntax has these parts:
Part
Description
TrackNum An integer value specifying which Track Number from CardData to Return.
Remarks
Explanation of tracks:
Track # Description
0
Unparsed Card Data. Same as CardData. It includes all tracks.
1
Start Sentinel ‘%’ End Sentinel is the first ‘?’ after Start Sentinel.
2
Start Sentinel ‘;’ End Sentinel is the first ‘?’ after Start Sentinel.
3
Start Sentinel ‘+’ End Sentinel is the first ‘?’ after Start Sentinel.
4
Start Sentinel ‘!’ End Sentinel is the first ‘?’ after Start Sentinel (used in
AAMVA cards).
5
Start Sentinel ‘#’ End Sentinel is the first ‘?’ after Start Sentinel (used in
CADLs).
Data Type
String
GETFNAME
Returns the First Name from the track data.
Syntax
KbdWedge.GetFName()
The GetFName method syntax has no parameters.
Remarks
Returns the First Name on an ABA type ‘A’ or’ ‘B’ formatted card or returns an empty string.
Data Type
String