Don,
You need to URL encode the variable. I think there is a function to do that but I'm not 100% sure.
Matt
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Don Cavaiani
Sent: Wednesday, April 22, 2009 10:57 AM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] ND Macro screen elimination
I am using a variable?
<a href="J:\$(V_SEARCH)">$(V_SEARCH)</a>
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of lgoodbar@xxxxxxxxxxxxxx
Sent: Wednesday, April 22, 2009 9:46 AM
To: web400@xxxxxxxxxxxx
Subject: Re: [WEB400] ND Macro screen elimination
Convert spaces " " to "%20" (no quotes) in the <a href>. %20 is the URI
equivalent for space. If the visible name of the link is breaking across
lines, that can be solved by replacing spaces with " " non-breaking
space.
HTH,
Loyd
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of Don Cavaiani
Sent: Wednesday, April 22, 2009 9:37 AM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] ND Macro screen elimination
Real close now - but the document name breaks into several lines instead
of showing straight across. Otherwise, it works correctly
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of TAllen@xxxxxxxxxxxx
Sent: Wednesday, April 22, 2009 9:18 AM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] ND Macro screen elimination
Your search results would look something like this:
Rec# Invoice Indentifcation
0004 <a href="J:\Aerofast Inc 10108 00128373.pdf">Badger Metals 10450
52499</a>
0109 <a href="J:\Inside Badger 13070 0038727-IN.pdf">Inside Badger
13070 0038727-IN</a>
You may need to escape the spaces in the file path.
Thanks,
Todd
"Don Cavaiani"
<dcavaiani@amereq
uip.com>
To
Sent by: "Web Enabling the AS400 /
iSeries"
web400-bounces@mi <web400@xxxxxxxxxxxx>
drange.com
cc
Subject
2009-04-22 10:09 Re: [WEB400] ND Macro screen
elimination
Please respond to
Web Enabling the
AS400 / iSeries
<web400@midrange.
com>
OK, men, I got this far with code elimination - but what am I missing to
actually get the .pdf to show?
This is in the browser now - J:\Aerofast Inc 10108 00128373.pdf -
do I need to precede it with the adobe executable path?
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of TAllen@xxxxxxxxxxxx
Sent: Wednesday, April 22, 2009 8:19 AM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] ND Macro screen elimination
I don't know if I am oversimplifying, but why not have each item in the
search results be a link to the corresponding PDF and eliminate the
"click here" screen?
Thanks,
Todd
"Don Cavaiani"
<dcavaiani@amereq
uip.com>
To
Sent by: <web400@xxxxxxxxxxxx>
web400-bounces@mi
cc
drange.com
Subject
[WEB400] ND Macro screen
2009-04-22 08:32 elimination
Please respond to
Web Enabling the
AS400 / iSeries
<web400@midrange.
com>
I have this macro which ends up displaying a .pdf file. The search
index is on the System i. The users are not happy with the extra
"click" step
(anchor) which is now needed. Is there a way to eliminate that extra
step and go directly to the .pdf display?
1) There is a keyword search field entered
2) The System i index is searched and all "matches" are
displayed.
3) User clicks on the record # of the match for which they
want
to see the actual .pdf
4) Anchor screen comes up and user must click it again before
the
.pdf shows - this is what they want eliminated.
Example:
Rec# Invoice Identification
0004 Badger Metals 10450 52499.pdf
0109 Inside Badger 13070 0038727-IN.pdf
User then clicks on the one he wants ...
and this "extra" step comes up:
VIEW the A/P Invoice for ... Badger Metals 10450 52499.pdf <J:\Badger
Rubber Company 10450 52499.pdf> When above is clicked, the .pdf
appears.
Don F. Cavaiani
IT Manager
Amerequip Corp.
920-894-7063
"It's amazing what you can accomplish if you don't care who gets the
credit." Harry S. Truman
This communication and any transmitted documents are intended to be
confidential. If there is a problem with this transmission, please
contact the sender. If the reader of this message is not the intended
recipient, or the employee or agent responsible to deliver it to the
intended recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To
post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit:
http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/web400.
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To
post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit:
http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/web400.
As an Amazon Associate we earn from qualifying purchases.