Are you _sure_ that the directory path is correct with no spaces and the 
correct ordinal number for the short names?

When using DOS names in Windows I always enclose them in double quotes.


Regards,
Alastair.

  From: Kenny Camp 
  Sent: Wednesday, April 21, 2010 11:25 PM
  To: RBASE-L Mailing List 
  Subject: [RBASE-L] - Need help on (filename(0)) and Scratch settings - RBase 
7.6.8.3031 for Windows full and compiled versions.


  Hello List, I thought I had a pretty good understanding of temp files and 
scratch settings but…

   

  Recently,  my programs have started having more and more failures to create 
temporary files in several situations for multiple users.  

  Scratch files are always set to tmp unless I change it during 
troubleshooting.  I created a button to capture scratch setting to verify 
location.

   

  The problem does not start immediately after a new session, reports and 
(filename(0)) work as expected as first.  

   

  But after a while, (1st issue) printing a very simple report to the screen 
with no breaks or eeps results in an error 
C:\docume~1\kenny\locals~1\temp\4bcf107f.$$$ not found!  This error is 
displayed twice even though the report looks OK.  These messages are displayed 
because I have the error messages set ON in order to report if no data found 
(2059) (error variable stays at 0 even when no data).  I checked the scratch 
directory above and there were $$$ files in the scratch directory but not the 
one reported in the error. 

   

  Once this happened, (2nd issue) I tried running a different style of report 
that captures a select statement or tally to a text file.  I test for the 
existence of the result of set v vfname text = (filename(0)) and if it does not 
exist, pause for 1, then try again.  The loop failed the 5 times it loops, 
aborted.  Each failure was the same file name exactly.  I thought the filename 
is created by/affected by the time (seconds?) but I waited over an hour (same 
session) and it is still failing to create this same exact file name.

   

  Is there a way to seed this process (filename(0)) with a new filename so my 
users do not have to close and start a new session? 

   

  I changed my scratch setting to c:\  and it still reported 
C:\docume~1\kenny\locals~1\temp\4bcf107f.$$$ not found! Same file, same 
location.

   

  Any Ideas what I have done to cause this or what is happening?

   

  Confused in OKC,

   

  Kenny



------------------------------------------------------------------------------



  No virus found in this incoming message.
  Checked by AVG - www.avg.com 
  Version: 9.0.814 / Virus Database: 271.1.1/2826 - Release Date: 04/21/10 
12:09:00

Reply via email to