UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Can't add records to bottom of a select query    
 
   
Alpha7
post Aug 24 2005, 10:11 AM
Post #1

UtterAccess Addict
Posts: 185
From: London, UK



Hi,

I have got a very simple select query that is listing all fields from a table using the "*".

Why won't it allow me to add records at the bottom please?

Other select queries I have allow me to do this.

Many Thanks
Go to the top of the page
 
+
MicroE
post Aug 24 2005, 10:15 AM
Post #2

UtterAccess VIP
Posts: 4,034
From: NY - USA



Does the query pull from multiple tables? If so, you need to make sure your relationships (joins) are set up correctly (Primary Key - Foreign Key).

If you need more assistance, please post your SQL.
Go to the top of the page
 
+
Alpha7
post Aug 24 2005, 10:20 AM
Post #3

UtterAccess Addict
Posts: 185
From: London, UK



Yes, actually there is another table involved.

In tblData there is a field called "Ward"

The list of wards comes from tblWards, which also has other fields about the ward.

Should I make the field called ' Ward'in tblWard (the lookup table) the primary key?

Thanks
Go to the top of the page
 
+
MicroE
post Aug 24 2005, 10:53 AM
Post #4

UtterAccess VIP
Posts: 4,034
From: NY - USA



Every Table must have a primary key.

Suggested Readings & Things
Go to the top of the page
 
+
Alpha7
post Aug 25 2005, 08:55 AM
Post #5

UtterAccess Addict
Posts: 185
From: London, UK



Thanks for your helpl, the primary key has made it work.
Go to the top of the page
 
+
MicroE
post Aug 25 2005, 10:10 AM
Post #6

UtterAccess VIP
Posts: 4,034
From: NY - USA



You are welcome.
Go to the top of the page
 
+

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 21st May 2013 - 03:23 AM