Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check the Exclusive use of DBF
Message
 
 
À
05/07/2000 10:21:15
Tom Gahagan
Alliance Computer Solutions
Thomaston, Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00388198
Message ID:
00388315
Vues:
9
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform