<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV>[ sorry top posted ]</DIV>
<DIV>&nbsp;</DIV>
<DIV>Harold,</DIV>
<DIV>&nbsp;</DIV>
<DIV>For years I have allowed users to access Word, Excel, Notepad(++), Internet Explorer, etc from with in fp.&nbsp; Note I do this from the review mode not while in input.&nbsp; (Just never tried it).</DIV>
<DIV>&nbsp;</DIV>
<DIV>Here is the Excel command I use</DIV>
<DIV>&nbsp;</DIV>
<DIV>@key+ : : input popup f "Enter filename or leave blank for new file "&nbsp; (Used if user is to give filename)</DIV>
<DIV>
<DIV>@key+ : :&nbsp;f="shopsch.xls"{""&nbsp; (System used&nbsp;filename)</DIV>
<DIV>&nbsp;</DIV>
<DIV>: : then: mf="c:\programs files\microsoft office\office\excel.exe"&lt;f</DIV>
<DIV>&nbsp;</DIV>
<DIV>Note that in the above neither f nor mf are defined</DIV>
<DIV>&nbsp;</DIV>
<DIV>Running using fp (5.0.15) on a Windows 2003 server network</DIV>
<DIV>&nbsp;</DIV>
<DIV>Hope this helps</DIV>
<DIV>&nbsp;</DIV>
<DIV>Rick Hane</DIV>
<DIV>Controller</DIV>
<DIV>Deluxe Stitcher Company Inc</DIV>
<DIV><A href="http://www.deluxestitcher.com">www.deluxestitcher.com</A></DIV>
<DIV></DIV></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif"><FONT face=Tahoma size=2>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> John Esak &lt;john@valar.com&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> Harold &lt;haroldef@sbcglobal.net&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">Cc:</SPAN></B> list filePro mailing &lt;filepro-list@lists.celestial.com&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Wed, June 16, 2010 1:46:21 PM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> RE: Sort/Selection processing<BR></FONT><BR>It sounds like you might still be in filePro when you're trying to open the<BR>file. If so, you must CLOSE it first.&nbsp; So issue a CLOSE statement and see if<BR>you cn then open the file first. <BR><BR>John<BR><BR>&gt; -----Original Message-----<BR>&gt; From: Harold [mailto:<A href="mailto:haroldef@sbcglobal.net" ymailto="mailto:haroldef@sbcglobal.net">haroldef@sbcglobal.net</A>] <BR>&gt; Sent: Wednesday, June 16, 2010 12:01 PM<BR>&gt; To: <A href="mailto:john@valar.com"
 ymailto="mailto:john@valar.com">john@valar.com</A><BR>&gt; Cc: <A href="mailto:filepro-list@lists.celestial.com" ymailto="mailto:filepro-list@lists.celestial.com">filepro-list@lists.celestial.com</A><BR>&gt; Subject: Re: Sort/Selection processing<BR>&gt; <BR>&gt; On 6/15/2010 3:51 PM, John Esak wrote:<BR>&gt; &gt;<BR>&gt; &gt; Yes, I realized right away that @ts wouldn't have a meaning <BR>&gt; other than Total<BR>&gt; &gt; Records Processed, not Total Records Selected.&nbsp; I think it <BR>&gt; *would* be useful<BR>&gt; &gt; in this context.&nbsp; Not *real* useful... But somewhat, <BR>&gt; maybe... Sometimes...<BR>&gt; &gt; Perhaps. Oh, okay, it's pretty much not to useful a thing <BR>&gt; to know, other<BR>&gt; &gt; than to just know it? Since it has no relation to how many <BR>&gt; you actually<BR>&gt; &gt; select, you couldn't use it for much of anything.<BR>&gt; &gt;<BR>&gt; &gt; John<BR>&gt; &gt;<BR>&gt; <BR>&gt; Hi John,<BR>&gt; <BR>&gt; I am
 still working on my problem--I can create the CSV file, <BR>&gt; but haven't been able to <BR>&gt; open the CSV file while in filepro, using Excel, after the <BR>&gt; CSV file has been created.<BR>&gt; <BR>&gt; I use @ts to see how many records have been selected, and as <BR>&gt; each record has been <BR>&gt; sent to the CSV file I increment a variable field rn.&nbsp; When <BR>&gt; rn is equal to @ts I try <BR>&gt; to open CSV.<BR>&gt; <BR>&gt; To prove that @ts is the number of records selected I have <BR>&gt; created the JPG file <BR>&gt; attached.&nbsp; Note at the bottom left where it shows @ts, which <BR>&gt; contains the number of <BR>&gt; records selected, which is that same number as that above.<BR>&gt; <BR>&gt; Take Care,<BR>&gt; <BR>&gt; Harold<BR>&gt; <BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt;&gt; -----Original Message-----<BR>&gt; &gt;&gt; From: Kenneth Brody [mailto:<A href="mailto:kenbrody@spamcop.net"
 ymailto="mailto:kenbrody@spamcop.net">kenbrody@spamcop.net</A>]<BR>&gt; &gt;&gt; Sent: Tuesday, June 15, 2010 3:49 PM<BR>&gt; &gt;&gt; To: <A href="mailto:john@valar.com" ymailto="mailto:john@valar.com">john@valar.com</A><BR>&gt; &gt;&gt; Cc: <A href="mailto:filepro-list@lists.celestial.com" ymailto="mailto:filepro-list@lists.celestial.com">filepro-list@lists.celestial.com</A><BR>&gt; &gt;&gt; Subject: Re: Sort/Selection processing<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; On 6/15/2010 2:12 PM, John Esak wrote:<BR>&gt; &gt;&gt; [...]<BR>&gt; &gt;&gt;&gt; I will assume that @ts has no value either on the -v table.<BR>&gt; &gt;&gt; Although, who<BR>&gt; &gt;&gt;&gt; knows (besides Ken :-) maybe it does. In which case, you<BR>&gt; &gt;&gt; could set an<BR>&gt; &gt;&gt;&gt; incrmenting counter for every record encoutnerd selected or<BR>&gt; &gt;&gt; not and when @ts<BR>&gt; &gt;&gt;&gt; equalled this counter, you'd be done with the -v processing.<BR>&gt; &gt;&gt;
 [...]<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; I'd have to check is @TS has any value during sort/select<BR>&gt; &gt;&gt; processing.&nbsp; But,<BR>&gt; &gt;&gt; even if it did, what would it mean?<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; Consider this:<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; I hand you my Rolodex, and ask you to pull out all the<BR>&gt; &gt;&gt; clients from New<BR>&gt; &gt;&gt; York.&nbsp; Part-way through, I ask you "how many New York clients<BR>&gt; &gt;&gt; are in my<BR>&gt; &gt;&gt; Rolodex, and have you gotten all of them yet?"<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; --<BR>&gt; &gt;&gt; Kenneth Brody<BR>&gt; &gt;&gt;<BR>&gt; &gt;<BR>&gt; &gt; _______________________________________________<BR>&gt; &gt; Filepro-list mailing list<BR>&gt; &gt; <A href="mailto:Filepro-list@lists.celestial.com" ymailto="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</A><BR>&gt; &gt; http://mailman.celestial.com/mailman/listinfo/filepro-list<BR>&gt;
 &gt;<BR>&gt; <BR>&gt; <BR>&gt; <BR><BR>_______________________________________________<BR>Filepro-list mailing list<BR><A href="mailto:Filepro-list@lists.celestial.com" ymailto="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</A><BR><A href="http://mailman.celestial.com/mailman/listinfo/filepro-list" target=_blank>http://mailman.celestial.com/mailman/listinfo/filepro-list</A><BR></DIV></DIV></div></body></html>