General information
Category:
Coding, syntax & commands
Title:
ERASE command help????
Hello,
The following lines of codes helped me to erase cPatname.dbf file in my C: drive
I would like know to delete cPatname.dbf in the Novell server that could be any available drive such N:,M:,O:
Greatly appreciated for any code changes.
Thanks,
PP
select dbdelrpt
GO TOP
count to npatname
go top
for nCurrentFile=1 to npatname
cPatname=alltr(patname)
bChkmark=chkmark
cFileDbf='c:'+cPatname+'.DBF' && Any drive in Novell server mapping
&& instead of only c: Drive
if bchkmark=.T.
erase &cFileDbf
endif
SELECT dbdelrpt
SKIP
next
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only