Mimic GotoCurrent in MyTable

Mimic GotoCurrent in MyTable

Postby Jonathan Liaw » Mon 02 May 2005 10:02

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
Jonathan Liaw
 

Postby Ikar » Wed 04 May 2005 06:30

Please use LocateEx method
Ikar
 
Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Postby Guest » Wed 04 May 2005 11:26

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?
Guest
 

Postby Ikar » Thu 05 May 2005 13:02

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


Return to MySQL Data Access Components