× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Perhaps something like this?

D wCommand        s           1024
D wCmdString      s           1024    varying
 * Start PC Organizer if not started.
C                   eval      wCmdString = 'STRPCO PCTA(*NO)'
C                   callp(e)  QCmdExc(wCmdString:
C                              %len(%trim(wCmdString)) )

C                   eval      wCommand =
C                               'start http://www.martinvt.com'
 * Run the command from the screen.
C                   eval      wCmdString = 'strpccmd pccmd('''
C                               + %trim(wCommand)
C                               + ''') pause(*NO)'
C                   callp     QCmdExc(wCmdString:
C                              %len(%trim(wCmdString)) )

Smith, Mike wrote:
I have a field that in a display file that I want to be able to click on
and open up the document. I have accomplished this when accessing a drive on a windows server as
such. file:///P:/Mapping/SVCCARDJPG/49059-model.jpg

However, I'm trying to test out doing this on the IFS.  So I have
changed to this.  \\QRGT\SHARES$\DOWNLOADS\SMITHMI\49059-model.jpg

This doesn't work, however if I place that in a web browser, it will
open up like a charm.
Do I have the syntax wrong in the display file, or will it just not work
from the display file accessing  the IFS?

Thanks.
Michael Smith
iSeries.mySeries.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.