Doing 'OK' Jeff, thanks for your interest.  Have been reading this forum for
a while and I will be picking up skills again.

Thanks, Wally.

-----Original Message-----
From: profox-boun...@leafe.com [mailto:profox-boun...@leafe.com] On Behalf
Of Jeff Johnson
Sent: Tuesday, January 24, 2012 10:17 AM
To: profox@leafe.com
Subject: Re: Two DBC's with the same file name


On 01/24/2012 10:10 AM, Wally Noll wrote:
> What I meant is that CURSORGETPROP has that DataBase property, you can
test
> each dbf and find what DBC it belongs to.  I think I had the same exact
> problem once.
>
> Wally Noll
>
> -----Original Message-----
> From: profox-boun...@leafe.com [mailto:profox-boun...@leafe.com] On Behalf
> Of Wally Noll
> Sent: Tuesday, January 24, 2012 10:00 AM
> To: 'ProFox Email List'
> Subject: RE: Two DBC's with the same file name
>
> Jeff,
>
> I'm pretty sure that CURSORGETPROP function can give you that answer.  I
> know I've done it, but not handy with code now as I haven't done
programming
> for years.  But I'm sure it'll do it.
>
> Wally Noll
>
> -----Original Message-----
> From: profox-boun...@leafe.com [mailto:profox-boun...@leafe.com] On Behalf
> Of Jeff Johnson
> Sent: Tuesday, January 24, 2012 9:41 AM
> To: profox@leafe.com
> Subject: Two DBC's with the same file name
>
>
> I have two DBC's with the same file name in them.  Everything works okay
> except for checking if a specific file is being used().
>
> Example:
>       open database dbc1
>       set database to dbc1
>       use dbc1.filename
>
>       open database dbc2
>       set database to dbc2
>
>       ?used('filename') returns .t. but it is dbc1
>
> Is there any way to check to see if dbc2!filename is being used?
>
> Please don't suggest that I change the file name.  It is only one file
> and I would have to change too much code to change it.
>
>
>
That's the ticket Wally!  Thanks.

How have you been?  Long time no hear.

Jeff

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

Jeff Johnson
j...@san-dc.com
(623) 582-0323

www.san-dc.com



[excessive quoting removed by server]

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/C860C027EDD44D4291D394E9F5FA6720@user834aaa3cd0
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to