G
Guest
What part of this code do I need to change to get this to work?
Onclick event, when clicked, it should take the value in PHONE field and
paste it into XXXX:
https://secure.domain.com/details.asp?account=XXXXX
Becomes:
https://secure.domain.com/details.asp?account=2547290000
The kicker - PHONE field's data is stored in this format, have an input mask
for the field in the table: !\(999") "000\-0000;0;_ WHICH = (254) 729-000
======= CODE ============
astrTokens = Split([Phone], ".")
i = UBound(astrTokens)
Strwww = "https://secure.domain.com/details.asp?account=" & _
astrTokens(i - 1) & "." & astrTokens(i)
Application.FollowHyperlink Strwww
======= CODE ============
Thanks!!!
Curtis
Onclick event, when clicked, it should take the value in PHONE field and
paste it into XXXX:
https://secure.domain.com/details.asp?account=XXXXX
Becomes:
https://secure.domain.com/details.asp?account=2547290000
The kicker - PHONE field's data is stored in this format, have an input mask
for the field in the table: !\(999") "000\-0000;0;_ WHICH = (254) 729-000
======= CODE ============
astrTokens = Split([Phone], ".")
i = UBound(astrTokens)
Strwww = "https://secure.domain.com/details.asp?account=" & _
astrTokens(i - 1) & "." & astrTokens(i)
Application.FollowHyperlink Strwww
======= CODE ============
Thanks!!!
Curtis