Another
untested thought....
Make this into a generic Hyperlink by adding vDestination ?
Make this into a SubRoutine: Hyperlink(vDestination)
SubRoutine results in something like:
var vDestination as String
var vAppfailure as Int
vAppfailure = @asynchshell(@chr(34) + vDestination + @chr(34))
If vAppfailure <> 0 Then
{
@Msg("Couldn't open application")
}
Anwhere you want a hyperlink just enter the destination as on field exit programming:
vDestination = value in current field.
GoSub Hyperlink()
By using the system's "Open With", you should be able to make vDestination any file name, like C:\MyPath\myfile.doc to open up that document in Word.
Sorry , no time now for correct, clean code. Just an instant idea. Busy working on real stuff right now. Just another
untested concept for Ray to clean up with correct punctuation, sub routine header/end, etc.