Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does not save the records
Message
De
24/03/2005 22:11:44
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
00998904
Message ID:
00999086
Vues:
34
>thanks helmar your reply,
>can you expaline how these command will be use after replacement.a .e.g??

You can change the contents records in several ways, for example with REPLACE, INSERT INTO, interactively in a form, GATHER.

An example with REPLACE:

a) If you don't use buffering:
REPLACE ...
FLUSH
b) If you enabled buffering:
REPLACE ...
if TableUpdate()
  FLUSH
else
  MessageBox("Can't save record for some reason")
  * or: get more details with aerror()
endif
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