× 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.



Hey all,

This is my first post, so forgive me if I'm not as savvy as the rest of 
you may be.

I'm webfacing an application that lists attachments to requisitions in a 
subfile.  The attachments are located on our network server.  I'm trying 
to get the name of the attachment to be a hyperlink to actually view that 
attachment in a new browser window.  I've got the beginning part of the 
URL in the Specify Static URL portion of the Create hyperlink option for 
this field in the subfile. ( "file://our server 
name/vol1/user/OWEN/pub/requisitions/" + &{SFREQ.value} + "/" + 
&{SFNAME.value} )

however, when I actually open the page up, the link lists the following:

file://our server name/vol1/user/OWEN/pub/requisitions/ 105229/test.JPG
|----------------------------------------------------------------------------------||---------||-------------|
        this is fine...it's a constant                      ?       ?
this is a 7 digit number in the subfile...notice the leading space   |
this is fine also...comes from the 
subfile-------------------------------------------|

I guess that when WDSC converts the 7 digit field in the subfile, it right 
justifies the field...does anyone know how I can get this leading space 
out of my URL?...like maybe using something that works like the RPG 
%trim() function?

Shane Cessna  
iSeries Programmer
iSeries WAS Administrator
North American Lighting, Inc.
(618) 662-4483 x2776
shane_cessna@xxxxxxx 

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.