Subject RE: [IBO] POSTING DATA from a TIBOQUERY Field inhibits use of the Query fields.
Author Alan McDonald
> I have converted my application over from BDE to IBOojects and I am
> running into a problem. I used data from my query after doing a post
> on the data. I then use the data in the Query for some other functions
> before finishing my task. With the BDE this worked OK. Now I notice
> that once I post the data, my data is not retained in the Query. In
> the example below Message 4 is OK and Message 5 is Blank( no data ).
>
> ShowMessage('4 Res OK: ' + FieldByName('PICKUPDATE').AsString);
> Post;
> ShowMessage('5 Res OK: ' + FieldByName('PICKUPDATE').AsString);
>
> Is there an option to allow this behavior or do I have to change my
> code. Changing the code could be a ardous process in that I have a
> lot of code and I would have to check every place I am doing a post to
> fix the problem.
>
> Thanks in Advance
>
> Jack Engleman
I'm not sure how you have setup your transactions. Do you call commit after
post? do you have a caClose action as your CommitAction?
Alan