Re: Append and post - with standardvalues



mIKE skrev:

I have found that when using ADO, you get messages like this even when they make no sense from the perspective of your code and what the program is doing between the time a record is displayed and updated. The only thing you can do is learn the proper superstitions to obey in order to get it to work.

It feels just so odd, but I did crack it:

ADO_Progress.Append;

// Code for populating the key values

ADO_Progress.Post;

ADO_Progress.Refresh; //This was the thing that did it;

Just a small refresh after the post and I was safe.

Thanx to you and Vitali for the effort!

/Pontus
.