Re: Append and post - with standardvalues
- From: Pontus Berg <pontus@xxxxxxxxxxxxxxxxx>
- Date: Mon, 19 May 2008 23:17:58 +0200
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
.
- Follow-Ups:
- Re: Append and post - with standardvalues
- From: Vitali Kalinin
- Re: Append and post - with standardvalues
- References:
- Append and post - with standardvalues
- From: Pontus Berg
- Re: Append and post - with standardvalues
- From: mIKE
- Append and post - with standardvalues
- Prev by Date: Re: ADOTable IsIndexField not returning correct result
- Next by Date: Re: ADOX - Import type library into Delphi 2007
- Previous by thread: Re: Append and post - with standardvalues
- Next by thread: Re: Append and post - with standardvalues
- Index(es):