SELECT Gosti.Agencija_ID, Gosti.Gost, Gosti.Dolazak, Gosti.Odlazak,
Gosti.App_ID, Gosti.Br_Osoba_ID, Gosti.Plaæeno_dana, Dani_Iznos.[Broj
_dana], Dani_Iznos.Iznos_EUR, Dani_IznosTZ.IznosTZ, Gosti.Prijava_Dolazak,
Gosti.Prijava_Odlazak, Dani_IznosTZ.[Broj _danaTZ], BT_Djeca.Djeca,
BT_Odrasli.Odrasli, BT_Teen.Teen, Gosti_BT_SUM.IznosBT_Odrasli,
Gosti_BT_SUM.IznosBT_Teen, Gosti_BT_SUM.IznosBT_Djeca
FROM (((((Gosti INNER JOIN Dani_Iznos ON Gosti.Gost_ID =
Dani_Iznos.Gost_ID)
INNER JOIN Dani_IznosTZ ON Gosti.Gost_ID = Dani_IznosTZ.Gost_ID) INNER
JOIN
Gosti_BT_SUM ON Gosti.Gost_ID = Gosti_BT_SUM.Gost_ID) INNER JOIN
BT_Odrasli
ON Gosti.Gost_ID = BT_Odrasli.Gost_ID) INNER JOIN BT_Djeca ON
Gosti.Gost_ID
= BT_Djeca.Gost_ID) INNER JOIN BT_Teen ON Gosti.Gost_ID = BT_Teen.Gost_ID;
I hope you understand something. it's in croatian. Gost_ID=Main_ID
And thre tables are: BT_Djeca, BT_Odrasli, BT_Teen with the same
number_fields.
thanks
JJ
Wayne said:
Ok, as stated previously, if the query isn't updateable, the form
won't be either. Please open the query in SQL view and copy and paste
the SQL text into a message.