Wolfgang
Thu Mar 04 12:53:15 CST 2004
Hi Lee!
I'm sorry but your tip works in the same app only.
If you have to test whether the DBC is used by another user on another
computer DBUSED() will fail. Even if you use it in another instance of your
app on the same computer it will fail.
--
_________________
MFG
Wolfgang Schmale
MS Visual FoxPro MVP
--------------------------------
"Lee Mitchell" <Leemi@online.microsoft.com> schrieb im Newsbeitrag
news:fQzkDhfAEHA.1288@cpmsftngxa06.phx.gbl...
> Hi Altman:
>
> > I need to open the Database exclusively but I don't want to get an
> error
> >if someone else has the DB opened and has it shared. Is there a way to
> find
> >out if the Database is currently opened by anyone else?
>
> >VFP8 sp1
>
> Take a look at the DBUSED() function.
>
> I hope this helps.
>
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
> Sincerely,
> Microsoft FoxPro Technical Support
> Lee Mitchell
>
> *-- VFP8 HAS ARRIVED!! --*
> Read about all the new features of VFP8 here:
>
http://www.universalthread.com/VisualFoxPro/News/VFP8Release.asp
> Purchase VFP8 here:
>
http://shop.microsoft.com/Referral/Productinfo.asp?siteID=11518
>
> Keep an eye on the product lifecycle for Visual FoxPro here:
>
http://support.microsoft.com/default.aspx?id=fh;[ln];lifeprodv
> - VFP5 Mainstream Support retired June 30th, 2003
> - VFP6 Mainstream Support retires Sept. 30th, 2003
>
>