Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access (front end for mysql db) returns phantom results to query

Status
Not open for further replies.

emilybartholomew

Technical User
Aug 3, 2001
82
US
Hello-

I have a mysql database which I've linked to an Access db in ordre to create forms and reports for my users. I have this table (called funding) which has an auto-increment primary key (called f_id). It doesn't do anything other than uniquely identify each row. I am trying to write a routine that will delete a row out of the funding table based on this f_id. The weird thing is that when I open my recordset and loop through the values of "f_id" for the funding table, not only does it not show the most recent entries, it returns records which I have deleted manually from the table.

Table looks like this:
.
.
.
189
190
245

Returned values look like this:
.
.
.
189
190
191
192
193

Does anyone know why this is happening? I'm using myodbc 2.5, Access 2000, mysql 3.23 (I think) I've installed the most recent MDAC and MS Jet 4.0 service pack 5.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top