Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot see the updated value
Message
De
24/10/2001 07:19:15
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
23/10/2001 12:58:15
Jimi Lee
Pop Electronic Products Ltd.
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00572000
Message ID:
00572500
Vues:
32
>Cetin,
>oh yes! because I'm modifying a program written by another programmer, he used buffering to allow "cancel" of certain data input from users.. I've just forgot it.. *blush*

That is the usual cause for this problem, I think.

>Hilmar,
>Thanks! should I just use TableUpdate() before I create the second alias?
>
>Jimi

Yes, you might. If you don't, the value won't be visible, since it is only in VFP-buffers (in RAM), not on disk. It is exactly the same as if another user had buffered changes - not committed to disk.

Another alternative is to remain in the same table.

  • Save recno().
  • Go fetch required values (in the same work area - not the same table opened AGAIN).
  • Return to the saved value of recno().

    This may require table buffering - record buffering will save a record as soon as you leave it, at a moment when you would, perpaps, rather not save it yet.

    HTH, Hilmar.
    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
    Répondre
    Fil
    Voir

    Click here to load this message in the networking platform