3

私は Access 2010 で作業しています。次のクエリがあります (bird_year_species という名前です)。

SELECT sub.Species, Min(sub.obs_year) AS First_sighting_year
FROM (SELECT DISTINCT [Genus_BiLE] & " " & [Species_BiLE] AS Species, [Year_BiLE] AS  obs_year
FROM BiLE_Bound


UNION ALL

SELECT DISTINCT [Genus_BiMN] & " " & [Species_BiMN] AS Species, [Year_BiMN] AS obs_year
FROM BiMN_Bound

UNION ALL 

SELECT DISTINCT [Genus_BiPC] & " " & [Species_BiPC] AS Species, [Year_BiPC] AS obs_year
FROM BiPC_Bound

UNION ALL

SELECT Distinct [Genus_BiOP] & " " & [Species_BiOP] AS Species, [Year_BiOP] AS obs_year
FROM BiOP_Rec

)  AS sub
GROUP BY sub.Species;

それを開くと、Query1.obs_year のパラメーター値を求めるポップアップが表示されます。何かを入力してOKを押すと、テーブルがポップアップして機能します。なぜこれが起こっているのかわかりません。クエリの名前は Query1 ではありません。

4

3 に答える 3