... empty(cPhone) return 0 endif //if its a user do nothing if val(cPhone) <>0 //phone number build format cPhone := alltrim(cPhone) // in the databse all international numbers have 00 //it must be taken out if substr(cPhone,1,2) == "00" cPhone := substr(cPhone,3) else //all others are national ...