Are you reading the database through an ODBC link? If so, make sure the ODBC link knows about a primary key on the file. If not, you have to create a primary index over the file in your vb program. Below is an example code for doint that:
Code
Code
Comment