>Hello all and sorry about the newbie question but I've found this to be the best place for answers.
>
>I've given the user the option of leaving a form when a duplicate is found. However, if he leaves (thisform.release) and returns, the values previously entered are still shown. Is there an easy way to reset these values or do I have to manually clear the fields?
>
>Also, does anyone have a link to a good online reference on foxpro (besides microsoft)?
>
>Thanks in advance,
>Sunshine
Sunshine,
If what you want to do is undo changes, you should use buffering. I recommend using mode 3 (optimistic row) or 5 (optimistic table).
Details in the following help topics:
CursorSetProp()
TableUpdate()
TableRevert()
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)