i have a problem connected with syntax error- in query i have that:
SELECT DMax("Data","Pr acownicy na stacjach","Loka lizacja stacji = " &
[Lokalizacja stacji] & " And Zmiana = " &[Zmiana] & " And
Data<=#"&Data&" # ")
FROM Bledy;
(Translation: Pracownicy na stacjach= Emploees on work stations,
Lokalizacja stacji= Work station location, Zmiana=shift)
Only the criteria for Data work properly- for Zmiana and Lokalizacja
it returns syntax error. What can be the reason for that? Maybe the
fact that i'm looking for Data in this function and these 2 mistaken
criterias have text values not data.
SELECT DMax("Data","Pr acownicy na stacjach","Loka lizacja stacji = " &
[Lokalizacja stacji] & " And Zmiana = " &[Zmiana] & " And
Data<=#"&Data&" # ")
FROM Bledy;
(Translation: Pracownicy na stacjach= Emploees on work stations,
Lokalizacja stacji= Work station location, Zmiana=shift)
Only the criteria for Data work properly- for Zmiana and Lokalizacja
it returns syntax error. What can be the reason for that? Maybe the
fact that i'm looking for Data in this function and these 2 mistaken
criterias have text values not data.
Comment