Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

eliminating dashes in db fld to make a hyperlink

Status
Not open for further replies.

rjkealey

Programmer
Feb 14, 2003
84
0
0
US
Hi All
I am havig a problem with a fld from my db that i want to take dashes out then convert to hyperlink

EX. fldParcelId from db = 0095262-228970-6

I need to take both dashes out to get this value
00952622289706

Which I then can stick on the end of a hyperlink

EX.
any help would be greatly appreciated
RJKealey
 
Dim strFormatted

strFormatted = replace(fldParcelId, "-", "")

where fldParcelId is the database field you are accessing
 
FATTYFATPANTS
Thank for your help I really appreciate it and I got it working thanks to you here is what the outcome link looks like
**************************************************
<td>Property Appraisar Sheet :</td><td><a target="new" href=" strFldParcelId %>&gen=T&tax=T&bld=T&oth=T&sal=T&lnd=T&leg=T"><%= strFldParcelId %></a></td>
*************************************************

Thanks Again
RJKealey
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top