Not the same I think. The former forces the table to close first (thereby
flushing anything not hard written yet) and then reopens it, whereas the latter
skips the close if open step.
-----Original Message-----
From: "MB Software Solutions General Account"
<[email protected]>
Date: Wed, 14 Oct 2009 16:08:40
To: <[email protected]>
Subject: Confusing code
Here's the code:
USE (THIS.cPath+"QuitApp.dbf") IN (SELECT("QuitApp")) SHARED
SELECT (SELECT("QuitApp"))
Is this basically saying "use the table if it's not already being used;
otherwise, use it in a new area....and then select the area where it is.
Seems to me like it could have been written easier with a simple
IF NOT USED("QuitApp") THEN
USE this.cPath + "QuitApp" in 0
ENDIF
SELECT QuitApp
???
tia!
--Mike
_______________________________________________
Post Messages to: [email protected]
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/[email protected]
** 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.
Report [OT] Abuse:
http://leafe.com/reportAbuse/[email protected]
_______________________________________________
Post Messages to: [email protected]
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/1288733379-1255552499-cardhu_decombobulator_blackberry.rim.net-8402972...@bda355.bisx.prod.on.blackberry
** 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.