RouteTrak API
CRTEngine::RTSetServerLookupFields
CRTEngine
RTERROR RTSetServerLookupFields(LPCTSTR lpszDriverField, LPCTSTR lpszVehicleField = NULL);
Parameters
Parameters Description
lpszDriverField A TCHAR buffer specifying the driver field
lpszVehicleField A TCHAR buffer specifying the vehicle field

Returns
RTERROR_NONE if successful
Description
Allows the application to specify how drivers and vhicls are to be looked up in the RouteTrak Database
Remarks
The RouteTrak Engine allows the application to define how drivers and vehicles are identified. The Routetrak Server component will attempt to look up existing records for the driver and vehicle. By default, the field to look up on is the "Name" field. The default behavior can be modified using this method. The fields will be recorded in the header section of the log file.
Class
Links

Copyright (c) 2001-2004 Links Point Inc.