It depends on the database you're using. If it's a desktop database like Paradox or xBase, it retrieves all the records and then filters based on the selected index. If it's a client/server database like MS SQL Server or Oracle, it should be using the linking field(s) in a where clause on the server.
-Dell