PCMSGetFmtMatch
Syntax
int PCMSGetFmtMatch(Trip trip, int which, char *buffer, int bufSize, int zipLen, int cityLen, int countyLen)
Parameters
- Trip trip – Handle to a trip.
- int which – The index number of the matching location in the pick list returned by PCMSLookup. The first match in the list is index 0.
- char *buffer – The buffer where the formatted place name will be deposited.
- int bufSize – The number of bytes in the buffer.
- int zipLen – The length of the ZIP code field.
- int cityLen – The length of the city field.
- int countyLen – The length of the county field.
Description
Gets and formats a location name from a list of matches created using PCMSLookup. The place name will be returned in the format (zipLen)_(cityLen)_(2-character state abbreviation),_(countyLen)
, where the underscores represent spaces. For example:
07403 Bloomingdale NJ, Passaic
Return Values
See Standard Returns in Connect documentation.
Supported Since: PC*Miler Connect 12
Category: Geocoding