Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
It controls in net it is not joining
Message
De
30/10/2001 06:32:20
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
30/10/2001 06:28:06
Adriano Ament
Folhamatic Sistema Ltda
Americana, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00574920
Message ID:
00574922
Vues:
26
I will assume that with "liberate" you mean "release the lock". After locking the record with rlock() (= lock()), and using it, you should unlock it with UNLOCK.

Is this what you need?

Hilmar.

>Good morning!
>I am developing a routine for when a registration is in use to join it and after some time to liberate.
>But the routine is not liberating, I am using Rlock.
>My routine is like this:
>Set Reprocess to 5 Seconds
>Set Status OFF
>If !Rlock ()
> Messagebox (" file in use ")
>Endif
>Do While !Rlock ()
> Wait Window " is trying!" nowait
>EndDo
>Return
>Somebody has some suggestion.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform