Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check the Exclusive use of DBF
Message
 
 
To
05/07/2000 10:21:15
Tom Gahagan
Alliance Computer Solutions
Thomaston, Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00388198
Message ID:
00388315
Views:
10
>Thanks Larry for the heads up and the info.
>
>In thinking about my answer and how I could do a better job helping in the future I guess I got stuck on the request for a "function" and failed to see the bigger part of his question.
>
>With what you posted it should be a simple matter to write a udf (do people still do that or would you put this in a class somewhere?) to slove the problem.
>
>Thanks again, I VERY MUCH appreciate it!

Well if you're a PURE OOPIST (which I'm not) then you would probably add it to your data services object. The problem with this approach is objects live in the datasession that created them so checking to see if the table is open exclusively by you entails that you need to pass the datasession along with the other information. If you use the PRG approach, the datasession doesn't change. It makes for less code.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform