Function idvGetPhoneNumber

Description

This function extracts the main phone or FAX number from the set of> possible phone columns in the address table.

Parameters

pPhoneFlag1 Flag for 1st phone number
pPhoneFlag2 Flag for 2nd phone number
pPhoneFlag3 Flag for 3rd phone number
pPhoneFlag4 Flag for 4th phone number
pPhoneFlag5 Flag for 5th phone number
pPhoneFlag6 Flag for 6th phone number
pPhoneFlag7 Flag for 7th phone number
pPhoneFlag8 Flag for 8th phone number
pPhoneNo1 1st phone number
pPhoneNo2 2nd phone number
pPhoneNo3 3rd phone number
pPhoneNo4 4th phone number
pPhoneNo5 5th phone number
pPhoneNo6 6th phone number
pPhoneNo7 7th phone number
pPhoneNo8 8th phone number
pRequired The required bit setting to look for (phone = 1, FAX = 2)
Returns The required number

 

  •