Page 1 of 1

Mimic GotoCurrent in MyTable

Posted: Mon 02 May 2005 10:02
by Jonathan Liaw
Hi,
I have many functions written using GotoCurrent() procedure before I migrate to MySQL and using MyDAC. I wonder is there a similar procedure in MyDAC, if not, is there any generic way to achieve this?
Thanks

Jonathan Liaw

Posted: Wed 04 May 2005 06:30
by Ikar
Please use LocateEx method

Posted: Wed 04 May 2005 11:26
by Guest
Hi Ikar,
Using LocateEx need some key fields and its values (which I don't have such info at the point of my code), unlike the GotoCurrent which requires only two tables as parameters. Any example code?

Posted: Thu 05 May 2005 13:02
by Ikar
You can use RecNo property for quick synchronization but this method will not work for editable tables.

We are planning to add GotoCurrent support but not at the nearest time.