G
Guest
Hello,
I have 2 linked text tables. When i try to get selected fields from these
tables combined, Access asks me for parameter values for the second table's
fields.
If i hit enter and leave them blank the result i get is correct field values
for the 1'st table's fields, but blank on the 2nd's where they should be
values from the 2nd table.
The query works fine if the tables are local (not linked, but regular
databases).
Here's a sample of the SQL (some of the field names are in Greek with latin
characters, so don't be confused).
SELECT Dimos.ID, Dimos.ID_Dimou, Dimos.Onoma_dimou, Dimos.ET_OK,
Dimos.ET_Total, Dimos.Population, Dimos.Registered, Dimos.Voted, Dimos.Egyra,
Dimos.Nomarxia_Dimou, Dimos.Time_stamp, Ypopsifioi_Dimou.Onoma_Ypopsif,
Ypopsifioi_Dimou.Psifoi, Ypopsifioi_Dimou.Pososto, Ypopsifioi_Dimou.Eklogi,
Ypopsifioi_Dimou.Aperxomenos, Ypopsifioi_Dimou.Onoma_Syndiasmou,
Ypopsifioi_Dimou.Ypostirixi
FROM Dimos INNER JOIN Ypopsifioi_Dimou ON Dimos.ID_Dimou =
Ypopsifioi_Dimou.ID_Dimou
GROUP BY Dimos.ID, Dimos.ID_Dimou, Dimos.Onoma_dimou, Dimos.ET_OK,
Dimos.ET_Total, Dimos.Population, Dimos.Registered, Dimos.Voted, Dimos.Egyra,
Dimos.Nomarxia_Dimou, Dimos.Time_stamp, Ypopsifioi_Dimou.Onoma_Ypopsif,
Ypopsifioi_Dimou.Psifoi, Ypopsifioi_Dimou.Pososto, Ypopsifioi_Dimou.Eklogi,
Ypopsifioi_Dimou.Aperxomenos, Ypopsifioi_Dimou.Onoma_Syndiasmou,
Ypopsifioi_Dimou.Ypostirixi
HAVING (((Dimos.ID_Dimou)=350));
Running it, Access asks me for parameter values for all the fields of the
Ypopsifioi_Dimou table, which is not what i'm expecting...
Hope i made sense, and please forgive the long post,
thanks
I have 2 linked text tables. When i try to get selected fields from these
tables combined, Access asks me for parameter values for the second table's
fields.
If i hit enter and leave them blank the result i get is correct field values
for the 1'st table's fields, but blank on the 2nd's where they should be
values from the 2nd table.
The query works fine if the tables are local (not linked, but regular
databases).
Here's a sample of the SQL (some of the field names are in Greek with latin
characters, so don't be confused).
SELECT Dimos.ID, Dimos.ID_Dimou, Dimos.Onoma_dimou, Dimos.ET_OK,
Dimos.ET_Total, Dimos.Population, Dimos.Registered, Dimos.Voted, Dimos.Egyra,
Dimos.Nomarxia_Dimou, Dimos.Time_stamp, Ypopsifioi_Dimou.Onoma_Ypopsif,
Ypopsifioi_Dimou.Psifoi, Ypopsifioi_Dimou.Pososto, Ypopsifioi_Dimou.Eklogi,
Ypopsifioi_Dimou.Aperxomenos, Ypopsifioi_Dimou.Onoma_Syndiasmou,
Ypopsifioi_Dimou.Ypostirixi
FROM Dimos INNER JOIN Ypopsifioi_Dimou ON Dimos.ID_Dimou =
Ypopsifioi_Dimou.ID_Dimou
GROUP BY Dimos.ID, Dimos.ID_Dimou, Dimos.Onoma_dimou, Dimos.ET_OK,
Dimos.ET_Total, Dimos.Population, Dimos.Registered, Dimos.Voted, Dimos.Egyra,
Dimos.Nomarxia_Dimou, Dimos.Time_stamp, Ypopsifioi_Dimou.Onoma_Ypopsif,
Ypopsifioi_Dimou.Psifoi, Ypopsifioi_Dimou.Pososto, Ypopsifioi_Dimou.Eklogi,
Ypopsifioi_Dimou.Aperxomenos, Ypopsifioi_Dimou.Onoma_Syndiasmou,
Ypopsifioi_Dimou.Ypostirixi
HAVING (((Dimos.ID_Dimou)=350));
Running it, Access asks me for parameter values for all the fields of the
Ypopsifioi_Dimou table, which is not what i'm expecting...
Hope i made sense, and please forgive the long post,
thanks