I'm working with an Access 97 database and trying to add this expression to a field on a report:
href: IIf(IsNull([www address]) Or Trim([www address])="","",IIf(left([www address], 7) = "http://", "<a href=" & [www address] & ">" & [www address] & "</a>", "<a href=http://" & [www address] & ">http://" & [www address] & "</a>"))
It looks correct to me and other people I have asked but every time I try and preview the report I get an error saying there is an extra ')' in the expression.
Any help would be GREATLY appreciated as I'm pulling my hair out on this one.
Thanks,
-DAGTA
href: IIf(IsNull([www address]) Or Trim([www address])="","",IIf(left([www address], 7) = "http://", "<a href=" & [www address] & ">" & [www address] & "</a>", "<a href=http://" & [www address] & ">http://" & [www address] & "</a>"))
It looks correct to me and other people I have asked but every time I try and preview the report I get an error saying there is an extra ')' in the expression.
Any help would be GREATLY appreciated as I'm pulling my hair out on this one.
Thanks,
-DAGTA
