I have an excel formula that I have been trying to recreate on my form in access without luck. This works pretty slick in excel and if I can get it to work in access I will be on the road to saving my department about 6 to 7 hours of data entry a weeek.
Here is the formula
Thanks,
Mike
Here is the formula
Code:
=IF($B$4<>"",HYPERLINK(IF(ISERR(VALUE(RIGHT($B$4,1))),"s:/"&IF(ISNA(ERROR.TYPE(VALUE(LEFT($B$4,1)))=3),LEFT($B$4,1),"ALPHA")&"/"&$B$4&".pdf","s:/"&IF(ISNA(ERROR.TYPE(VALUE(LEFT($B$4,1)))=3),LEFT($B$4,1),"ALPHA")&"/"&$B$4&".pdf"),$B$4),"")
Mike