Neuigkeiten:

Wenn ihr euch für eine gute Antwort bedanken möchtet, im entsprechenden Posting einfach den Knopf "sag Danke" drücken!

Mobiles Hauptmenü

Selektion nach Datum

Begonnen von SG05, Juli 03, 2015, 08:13:45

⏪ vorheriges - nächstes ⏩

SG05

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. 

DF6GL

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\#")
Viele Grüße vom Bodensee
Franz, DF6GL

Hilfestellung:  http://www.access-o-mania.de/forum/index.php?topic=6969.msg118738#msg118738

Links und Tipps:
1.   http://v.hdm-stuttgart.de/~riekert/lehre/db-kelz/
1a. http://www.tinohempel.de/info/info/datenbank/normalisierung.htm
1b. https://support.office.com/de-de/article/Grundlagen-des-Datenbankentwurfs-eb2159cf-1e30-401a-8084-bd4f9c9ca1f5#bmterms
2.   http://www.donkarl.com
3.   https://web.archive.org/web/20201201233522/http://www.dbwiki.net/
4.   http://www.access-tutorial.de/
5.   http://www.tty1.net/smart-questions_de.htm
6.   http://access.joposol.com/accept

Last but not least:   < F1 > für Hilfe
;) Learning by doing not by spoon-feed ;)

Tipp: Find and Replace for Access