Hi,
I'm using an hyperlink in my database that I display on a form. Because of the lenght of the hyperlink a wanna use only the last part to display on my form. The first part of the string has always the same lenght(68), the part that I wanna use doesn't.
The code I tried :
Index = IndexNumber
Set Db = CurrentDb()
Set Rs = Db.OpenRecordset("SELECT Offer FROM tab WHERE Indexnumber=" & Index)
StrLink = Rs!Offer
Me.OfferLink = StrLink And Left(StrLink, 68)
Rs.Close
Set Rs = Nothing
Ofcourse doesn't work !!!
Does someone have a working solution, please let me know !?!
I'm using an hyperlink in my database that I display on a form. Because of the lenght of the hyperlink a wanna use only the last part to display on my form. The first part of the string has always the same lenght(68), the part that I wanna use doesn't.
The code I tried :
Index = IndexNumber
Set Db = CurrentDb()
Set Rs = Db.OpenRecordset("SELECT Offer FROM tab WHERE Indexnumber=" & Index)
StrLink = Rs!Offer
Me.OfferLink = StrLink And Left(StrLink, 68)
Rs.Close
Set Rs = Nothing
Ofcourse doesn't work !!!
Does someone have a working solution, please let me know !?!