J
JimL
Stupid question I know - shows you what I know about j-script (or programming
in general)
I have a field, call it "DwgNo" (for drawing number) and fill it in with a
UNC pathbname - eg \\node\directory\filename.dwg.
No problem to add a hyperlink and assign mywgNo as the Data Source. Click
the link and the drawing launches using the appropriate application.
However, I would like to implement this with a button - call it the "View"
button (as I think this will give the form a more professional look than a
text-hyperkink "Click here to view".
Right click the Button, Properties, Edit Form Code; OnClick(eventObj). I am
now in uncharted territory. I remember when Basic was just that, basic. Would
someone care to suggests the correct code to "capture" the field information
and preform a "as if I clicked on a hyperlink" action.
Jim L
in general)
I have a field, call it "DwgNo" (for drawing number) and fill it in with a
UNC pathbname - eg \\node\directory\filename.dwg.
No problem to add a hyperlink and assign mywgNo as the Data Source. Click
the link and the drawing launches using the appropriate application.
However, I would like to implement this with a button - call it the "View"
button (as I think this will give the form a more professional look than a
text-hyperkink "Click here to view".
Right click the Button, Properties, Edit Form Code; OnClick(eventObj). I am
now in uncharted territory. I remember when Basic was just that, basic. Would
someone care to suggests the correct code to "capture" the field information
and preform a "as if I clicked on a hyperlink" action.
Jim L