Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Does not save the records
Message
From
24/03/2005 22:11:44
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00998904
Message ID:
00999086
Views:
33
>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)
Previous
Reply
Map
View

Click here to load this message in the networking platform