home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / database / 7697 < prev    next >
Encoding:
Text File  |  1992-11-08  |  1.4 KB  |  31 lines

  1. Newsgroups: comp.databases
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!destroyer!news.iastate.edu!vincent2.iastate.edu!viking
  3. From: viking@iastate.edu (Dan Sorenson)
  4. Subject: Re: FP 2.0 DELETE FILE on a LAN
  5. Message-ID: <viking.721215325@vincent2.iastate.edu>
  6. Sender: news@news.iastate.edu (USENET News System)
  7. Organization: Iowa State University, Ames IA
  8. References: <BxDn6z.Cv2@acsu.buffalo.edu>
  9. Date: Sun, 8 Nov 1992 09:35:25 GMT
  10. Lines: 19
  11.  
  12. v125qmam@ubvmsb.cc.buffalo.edu (Ami R Pflugrad) writes:
  13.  
  14. >    Im wondering what will happen if a user issues a 
  15. >    DELETE FILE F:\Foxpro2\MyJunk\Foo.DBF while
  16. >    another user was using F:\Foxpro2\MyJunk\Foo.DBF 
  17. >    in his/her current workspace. This would be under a NOVELL Lan.
  18.  
  19.     The file will not be deleted (as per the DOS command) because
  20. the other user is reading it.  If you have EXCLUSIVE access, it can be
  21. deleted as your other user won't even be reading from it.  If both of you
  22. have the file open without EXCLUSIVE access you can SET MULTILOCKS ON and
  23. delete (the Fox way) all but the record they're reading, and delete it
  24. later if you want.  Perhaps something that deletes all files with
  25. reccount()<2?
  26.  
  27. < Dan Sorenson, DoD #1066 z1dan@exnet.iastate.edu viking@iastate.edu >
  28. <  ISU only censors what I read, not what I say.  Don't blame them.  >
  29. <  "This isn't an answer, it's a pagan dance around a midnight fire  >
  30. <   written in intellectual runes." -- Rich Young                    >
  31.