I duno, but
IF ".TMP" $ UPPER(DBF("whatever")) and ISEXCLUSIVE("whatever")
sounds good enough to me.
>I still think looking to see if it's a temp file is the safest way to go. There could be other tables opened exclusively.
>
>Thanks,
>
>Michelle
>
>>The exclusive applies always and a cursor product of a select statement is always read only (VFP7 will have a READWRITE clause).
>>But you are right, there are ways to make those guys writable and CREATE CURSOR
>>produces a updatable one.
...Y soy feliz, bien feliz, asi lo grito;
Mira, que el mundo sepa, que se sepa:
Soy feliz....
...And I'm happy, quite happy, so do I yell it;
Look, so the world knows it, so be known:
I'm happy...
Ismael Rivera "Oye cosita linda"
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement