Page 1 of 1

refresh updates

Posted: Sun 13 Mar 2005 11:05
by ben
hello,

i have 2 queries

the one SELECT * FROM RECORDS

and the other in a secondary form updates or insert records

UPDATE FROM RECORDS

the issue is that I have to Call Query1.Refresh; after every update.
Is that the right way to do it or you have another mechanism for that?

I remember in an other mysql component set there was an

UpdateObject property. As I can see you have an UpdateObject but i dont know if it works for me or how to make it work.

Thanks

Posted: Mon 14 Mar 2005 15:07
by Ikar
> the issue is that I have to Call Query1.Refresh; after every update.
> Is that the right way to do it or you have another mechanism for that?

Probably, it would be correct to use call Query1 at the second form, but if it is impossible, then the way you specified is the only available.

> UpdateObject property

UpdateObject in MyDAC was developed for compatibility with BDE, and at any case it mustn't concern your problem.