Query fields not populating (1 Viewer)

nancy54

Registered User.
Local time
Today, 17:11
Joined
Jun 19, 2018
Messages
49
View attachment Art Exhibits.accdb

Hello,
I've attached a (censured) database I'm working on.
In query qryBrochure, none of the fields from table tblIDArtistInfo will populate. I can't figure out why???

Thank you, Nancy
 

June7

AWF VIP
Local time
Today, 13:11
Joined
Mar 9, 2014
Messages
5,466
You are not properly linking tables. Membership is a number field and it is defined as primary key in tbllDArtistInfo. You are saving this value into a text field in tbtReceiving. A number field cannot link to a text field. Therefore, in your query you link Artist and LastName fields. Since Artist does not actually hold the artist name, the link does not return data in query. Fix field data type and link appropriately in query. You will have to remove the link in query first, fix field, re-link correct fields.

Names make very poor unique identifiers.
 
Last edited:

CJ_London

Super Moderator
Staff member
Local time
Today, 22:11
Joined
Feb 19, 2013
Messages
16,610
because you are using lookup fields in tblReceiving.

using lookups in table design is a bad idea because they create confusion when try to do anything else - what you see is not what you have. Remove the lookups in the table so you can see what you actually have, then rename the field to what you actually have and then you can write a query that will work. There is an error in your lookup anyway
 

Users who are viewing this thread

Top Bottom