Hallo zusammen,
ich möchte meine Auswahl um die Möglichkeit der Datumsselektion erweitern.
Folgendes habe ich von einer Abfrage von Zahlen übernommen:
If Not IsNull(Forms!HFo!DatumVon) Then strkrit = strkrit & " and [Anlagedatum] Between " & Forms!HFo!DatumVon & " and " & Forms!HFo!DatumBis
Leider werden im UFo alle Daten angezeigt.....
Erbitte Euro Unterstützung.
Hallo,
das Datum muss im ISO-oder USA-Format vorliegen, also formatiere den Wert entsprechend..:
...& " and [Anlagedatum] Between " & Format(Forms!HFo!DatumVon, "\#yyyy-mm-dd\#") & " and " & Format(Forms!HFo!DatumBis,"\#mm/dd/yyyy\#")