Click to See Complete Forum and Search --> : Seek on Recordset


Marius Cabas
July 19th, 2000, 03:03 AM
How can I call 'Seek' on a recordset that contains two tables?

vin
July 19th, 2000, 03:23 AM
I suggest instead of using seek, using SQL statement. SQL engine will use indexes if there are such so I don't see why you should use seek.


First you have to set relationship between
the two tables. Primary-foreign keys.

Then you can open the table with an
SQL query that joins then two tables,
of course you will use some logic to
extract the rows you need.

This way you will obtain recordset that holds
the fields from the two tables and you will easily retrieve the information you need.

Iouri
July 19th, 2000, 08:56 AM
I agree with vin and I think that SQL will work faster than Seek

Iouri Boutchkine
iboutchkine@hotmail.com