refresh updates

refresh updates

Postby ben » Sun 13 Mar 2005 11:05

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
ben
 
Posts: 119
Joined: Wed 17 Nov 2004 19:48

Postby Ikar » Mon 14 Mar 2005 15:07

> 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.
Ikar
 
Posts: 1693
Joined: Thu 28 Oct 2004 13:56


Return to MySQL Data Access Components