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 sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HELP! Can't add new records with query??

Status
Not open for further replies.

CatahoulaHound

Technical User
Feb 26, 2001
47
US
WHAT HAVE I DONE. I have been starring at this DB for hours. I have a query tied to two tables that was working fine until I started manually updating the tables with some old data. Now I get an error message that says that the recordset is not updateable?? Can somebody suggest someplace, anyplace, everyplace!! to look.
Thanks
Pat
 
Can something I've done in another query be causing this or does it have to be something with the 2 attached tables??
Thanks
Pat
 
When you updated the tables, are you using the query to update them??? Is your query an UPDATE query vs SELECT query?

Mary :)
 
Telsa:
It is a Select query, but shouldn't I be able to add new records to the underlying tables in the query? I can in my backup copy so it must be something in the data that I put into the tables last night after I backed up the DB. It is "player info" and "family info" linked together in a query called "FamPlayerID" by the phone number. I'm lost so far.
Thanks In Advance
Pat
 
There is a problem in your relationships somewhere. Most likely there is a Primary Key or a foreign key field that is not in the grid and should be, especially if you have are using an autonumber.

A way out of the mess is to rebuild your query one step at a time. Test the steps as you go along to make sure you can update data. When updating fails you will have a clue as to what part of the relationship is hanging you up.
 
You had it NoteSmith. I had 3 phone numbers wrong in the FamilyID table.
THANKS!!
Pat
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top