Why are my records blank in my Access query?

人走茶凉 提交于 2019-12-24 22:01:01

问题


I'm trying to run this query:

SELECT tbl_G_ov_wta.PK_G, qry_performPrepElo_wta.PK_G, qry_performPrepElo_wta.ID1_ocStake
FROM tbl_G_ov_wta INNER JOIN qry_performPrepElo_wta ON tbl_G_ov_wta.PK_G = qry_performPrepElo_wta.PK_G

For some reason it won't pull through the values of qry_performPrepElo_wta.ID1_ocStake. Worth mentioning that PK_G is a common primary key. In playing around with this I've found that adding in criteria as follows fixes the issue:

SELECT tbl_G_ov_wta.PK_G, qry_performPrepElo_wta.PK_G, qry_performPrepElo_wta.ID1_ocStake
FROM tbl_G_ov_wta INNER JOIN qry_performPrepElo_wta ON tbl_G_ov_wta.PK_G = qry_performPrepElo_wta.PK_G
WHERE (((tbl_G_ov_wta.PK_G) Between 1 And 1000000));

Any ideas on why this might be?

来源:https://stackoverflow.com/questions/58525346/why-are-my-records-blank-in-my-access-query

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!