I've done a little more research.  It looks like the person doing these
conversions attached the macro instead of the report file, so I switched
the embedded report definition to an .arr and it does not contain the
to-file line.  I did find the documentation about the Target Location
field.  It looks like you can put to-file: in the target location, but
so far I haven't been able to make "to-file:
\\windowsshare\SendTest\$Record
<BLOCKED::file://windowsshare/SendTest/$Record>  ID$.txt "  
 
Any ideas?  Has anyone else run into something like this?
 
Thanks,
Matt

________________________________

From: Matthew Kunkel 
Sent: Thursday, April 03, 2008 4:47 PM
To: 'arslist@ARSLIST.ORG'
Subject: Using Open Window action to write report to specified location.


We're in the process of converting all our old Run Macro active links to
Open Window actions since this has been unsupported for a while now.
Also, the nice little converter will go away when we upgrade to version
7.  I'm running into problems with a macro action that writes a report
to a pre-determined location.  For example the macro might say:
 
sendtotest
Set-schema: Test Schema$Server$
Query: 1=$Record ID$
Report: 21=11=$Record ID$4=5=6=13=
23=07=7210=1968=19=111=012=020=716=-17=
18=119=72=536870936
Statistics: 
 
to-file: \\windowsshare\SendTest\$Record
<file://\\windowsshare\SendTest\$Record>  ID$.txtO
end
 
This how we save a report to a shared directory without user
interaction, and we're talking about some fairly ancient code here.
Anyhow, when I convert this to an Open Window action, I set the Target =
File, and of course a dialog opens asking for a location.  I try Target
= File \\windowsshare\SendTest\$Record
<file://windowsshare/SendTest/$Record>  ID$.txt OR Target =
\\windowsshare\SendTest\$Record <file://windowsshare/SendTest/$Record>
ID$.txt and it doesn't work.  The line
"to-file:\\windowsshare\SendTest\$Record
<file:///\\windowsshare\SendTest\$Record>  ID$.txt" is in my report
definition.  
 
Any ideas?   We are still using the Windows thick client although I can
see where this might cause problems on the Web.
 
I'm trying to get around writing a server side process to create the
report and ftp it to the share.
 
Thanks,
Matt



-----------------------------------------
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the individual or entity to whom they are
addressed. If you have received this email in error destroy it
immediately.
**********************************************************************
Wal-Mart Confidential
**********************************************************************


_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"

Reply via email to