Hi Donald (or Fred)
Since you're using buffering, you would need Tableupdate() after you make any changes. Check the exact syntax in Help, I would suggest to use the 3rd parameter and then check, if there are any errors.
Do you use any kind of frameworks? We have some generic code in our Save method of the form, but I'm not sure, it's the best, so I'm not postiing it here...
>Nadya,
>
>I'm new to VFP if you couldn't already tell, so I'm literally
>taking some older code given me, and templating it. I'm not
>sure if the table needs to be locked or not. I'm using another
>statement earlier (also from older code I was given):
>
>=CURSORSETPROP("buffer",5,"DD_ear")
>=CURSORSETPROP("buffer",5,"DD_earappdwg")
>
>The small black marks in left column of table Browse window do
>not appear after Delete is executed. I did a pack in Command
>window of this table, and records are still there.
>
>Fred Z
If it's not broken, fix it until it is.
My Blog