Is It possible that the function date() is disabled on a computer?Because I have a query and it tells me:This function is not available for this expression. The field is a date/time field and the notation is short date (16-09-1994). My other question is that is it true that access does not understand getDate() ? Because I was looking for a other way to get the current date.And last but not least can you tell date() to give the date back in a order you define like dd/mm/yyyy and not mm/dd/yyyy. I know from ASP you can say Session.LCID = 1043 and then every date he handles like the dutch standaard. dd-mm-yyyy.ThanxxBjorn
Here is the query:SELECT Relaties.Id, Relaties.Zoeksleutel, Relaties.Postcode, TakenRapportage.Taakuitgevoerd, TakenRapportage.Taaktijd, [Medium activiteiten].Activiteiten, TakenRapportage.Taakdatum, [Medium CRM].TeamledenWachtwoordFROM Relaties INNER JOIN (Rapportage INNER JOIN ([Medium CRM] INNER JOIN ([Medium activiteiten] INNER JOIN TakenRapportage ON [Medium activiteiten].IdActiviteiten = TakenRapportage.TaakActiviteit) ON [Medium CRM].IdTeamleden = TakenRapportage.TaakCRM) ON Rapportage.IdRapportage = TakenRapportage.IdTaakConnectie) ON Relaties.Id = Rapportage.IdRapportageRelatieWHERE (((TakenRapportage.Taakuitgevoerd) Is Null) AND ((TakenRapportage.Taakdatum)=Date()) AND (([Medium CRM].TeamledenWachtwoord)=[Forms]![Relaties]![txtwachtwoord]));