What is the code for displayng phone numbers in A4d (603)
482-8998
[Salespeople]PhoneNum:$phone
I'm storing this as a 15 character alpha field
Assuming the phone numbers are all 10 digits:
write("(%s) %s-%s" % (substring($phone; 1; 3); substring($phone; 4;
3); substring($phone; 7)))
Regards,
Aparajita
www.aparajitaworld.com
"If you dare to fail, you are bound to succeed."
- Sri Chinmoy | www.srichinmoylibrary.com
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/