RE: Two DBC's with the same file name

Author: John Weller

Posted: 2012-01-24 at 11:56:22

WAG - can you qualify the filename with the dbc name? IF

USED(dbc2.filename)

John Weller

01380 723235

07976 393631

> -----Original Message-----

> From: profoxtech-bounces@leafe.com [mailto:profoxtech-bounces@leafe.com]

On Behalf

> Of Jeff Johnson

> Sent: 24 January 2012 16:41

> To: profoxtech@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.

>

>

>

> --

> Jeff

>

> ---------------

>

> Jeff Johnson

> jeff@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/007c01ccdab9$1aa975a0$4ffc60e0$@co.uk

** 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.

©2012 John Weller