<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<tt>Richard,<br>
<br>
I was at that point in my thinking. Thank you for the response.<br>
<br>
Nancy<br>
</tt><br>
<div class="moz-cite-prefix">On 5/13/2020 10:49 AM, Richard Kreiss
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:MN2PR04MB6767D1E059B826402E19DD30B7BF0@MN2PR04MB6767.namprd04.prod.outlook.com">
<pre class="moz-quote-pre" wrap="">Nancy,
Most of the time when a Filepro function gives a negative # it means that it can't find the object( in your case the file).
What value does aa show? If it is blank or negative then the file was not found. In that case you would continue to get negative values.
Richard Kreiss
GCC Consulting
-----Original Message-----
From: Filepro-list <a class="moz-txt-link-rfc2396E" href="mailto:filepro-list-bounces+rkreiss=verizon.net@lists.celestial.com"><filepro-list-bounces+rkreiss=verizon.net@lists.celestial.com></a> On Behalf Of Nancy Palmquist via Filepro-list
Sent: Wednesday, May 13, 2020 10:19 AM
To: filePro Mailing List <a class="moz-txt-link-rfc2396E" href="mailto:filepro-list@lists.celestial.com"><filepro-list@lists.celestial.com></a>
Subject: Filesize() Function
Friends and filePro Experts,
Does anyone have an idea what it means when I do the following commands?
aa(8,.0)=Open([Name of file])
ab(8,.0)=filesize(aa) 'should report the filesize of the opened file and does most of the time.
But sometimes I get the value "-4" instead of a positive number of some kind.
I expect it might be an error of some kind and if a -4 is possible, can I expect other negative numbers?
I would appreciate any insight on this. I am kind of assuming the file was not created or something bad like that happened.
Nancy Palmquist
--
Nancy Palmquist
Owner
Virtual Software Systems - <a class="moz-txt-link-abbreviated" href="http://www.vss3.com">www.vss3.com</a>
(412) 835-9417
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <a class="moz-txt-link-rfc2396E" href="http://mailman.celestial.com/pipermail/filepro-list/attachments/20200513/51ab6575/attachment.html"><http://mailman.celestial.com/pipermail/filepro-list/attachments/20200513/51ab6575/attachment.html></a>
_______________________________________________
Filepro-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a>
Subscribe/Unsubscribe/Subscription Changes <a class="moz-txt-link-freetext" href="http://mailman.celestial.com/mailman/listinfo/filepro-list">http://mailman.celestial.com/mailman/listinfo/filepro-list</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Nancy Palmquist MOS & filePro Training Available
Virtual Software Systems Web Based Training and Consulting
PHONE: (412) 835-9417 Web site: <a class="moz-txt-link-freetext" href="http://www.vss3.com">http://www.vss3.com</a>
</pre>
</body>
</html>