Getfname, Getlname, Gettrack – MagTek MTBLUETOOTH.OCX User Manual
Page 14

MTBLUETOOTH.OCX Programming Reference Manual
10
GETFNAME
Returns the First Name from the track data.
Syntax
CtlMTBluetooth1.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
GETLNAME
Returns the Last Name from the track data.
Syntax
CtlMTBluetooth1.GetLName()
The GetLName method syntax has no parameters.
Remarks
Returns the Last Name on an ABA type ‘A’ or’ ‘B’ formatted card or returns an empty string.
Data Type
String
GETTRACK
This method returns card data from the specified track.
Syntax
CtlMTBluetooth1.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