Information générale
Catégorie:
Codage, syntaxe et commandes
>>I Try to make a safe SEEK & GATHER MEMVAR. Mean, I want that no body SEEK in the same table(FREE TABLE) between my SEEK and my GATHER commands ?
>>
>>May be something like this
>>
>>BEGIN PROCESS
>>
>> SEEK ...
>> GATHER MEMVAR
>>
>>END PROCESS
>>
>>But I don't find any BEGIN PROCESS...END PROCESS command!
>>
>>If you have a idea or comments
>>I will appreciate it
>
>I believe you want some kind of table locking mechanism. Have you tried RLOCK() or FLOCK()?
>
>HTH!
>
>-Moe-
Hi Moe
I don't want lock file or record, I just want that foxpro did my 2 lines of code without interupt by a other line of code(MULTI-TASK) to prevent error.
I will try with a exemple:
USER have to make a seek in table USER1 and after make a GATHER MEMVAR
BUT
TIMER1 have to make a seek in table USER1 to in same time
GOOD
---------------------------
COMPUTER DID
USER : SEEK IN TABLE USER1
USER : GATHER MEMVAR
TIMER1: SEEK IN TABLE USER1
BAD
----------------------------
COMPUTER DID
USER : SEEK IN TABLE USER1
TIMER1 : SEEK IN TABLE USER1
USER : GATHER MEMVAR
May be I can resolve the problem if i used the same table open with 2 different alias But I don't know if with 4 or 5 different alias of the same table the performance will be affected ?
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