Claudine

   Try “SET TRACE ON” right before your ERASE and then take a look at the 
variable.

 

  Don’t forget to “SET TRACE OFF” right after the ERASE 

 

Buddy

 

 

From: [email protected] [mailto:[email protected]] On Behalf Of 
Claudine Robbins
Sent: Thursday, February 2, 2017 6:15 PM
To: [email protected]
Subject: RE: [RBASE-L] - ERASE filespec

 

Thanks Jan.  I tried this to no avail. :(

 

From: [email protected] <mailto:[email protected]>  
[mailto:[email protected]] On Behalf Of jan johansen
Sent: Thursday, February 02, 2017 2:30 PM
To: [email protected] <mailto:[email protected]> 
Subject: Re: [RBASE-L] - ERASE filespec

 

Claudine,

 

You can try this (untested).

 

SET VAR vQuotes = (CVAL('QUOTES'))

SET VAR vfilename1 TEXT = NULL
SET VAR vfilename2 TEXT = NULL

 

SET VAR vDeleteFileCommand TEXT = ('DELETE ' + .vQuotes +.vfilename2 + .vQuotes)

SET VAR vCopyFileCommand TEXT = ('COPY ' + .vQuotes + .vfilename1 + .vQuotes 
&.vQuotes + .vfilename2 + .vQuotes)

 

&vDeleteFileCommand

PAUSE FOR 2

&vCopyFileCommand

 

 

Jan

  

-----Original Message-----
From: Claudine Robbins <[email protected] <mailto:[email protected]> >
To: "[email protected] <mailto:[email protected]> " 
<[email protected] <mailto:[email protected]> >
Date: Thu, 2 Feb 2017 19:35:45 +0000
Subject: [RBASE-L] - ERASE filespec
  

Hello all,

 

I’m having a bit of a headache with an ERASE filespec command which has worked 
reliably for weeks, works reliably from the R:> prompt and yields “Failed 
deleting… (2262)” then “Cannot create destination file (2086)” from within a 
form when I:

ERASE .filename2

And

COPY .filename1 .filename2

 

Permissions are ok…  Undoubtedly my fault but I can’t find it, help!

 

TIA,

 

Claudine

 

--
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected] 
<mailto:[email protected]> .
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected] 
<mailto:[email protected]> .
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected] 
<mailto:[email protected]> .
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to