div. Änderungen, etc.

This commit is contained in:
2026-10-15 17:03:34 +02:00
parent b69e058dff
commit 39acc51907
4 changed files with 156 additions and 64 deletions

View File

@@ -6407,8 +6407,8 @@ weiter:
If txtUTADate.Text = "" AndAlso txtUTAYear.Text <> "" Then
datumString = txtUTAYear.Text
SQLWhere = "And YEAR(U.Rechnungsdatum) = '" & datumString & "'"
von = New Date("01.01." & txtUTAYear.Text)
bis = New Date("31.12." & txtUTAYear.Text)
von = New Date(txtUTAYear.Text, 1, 1)
bis = New Date(txtUTAYear.Text, 12, 31)
ElseIf txtUTADate.Text <> "" AndAlso IsDate(txtUTADate.Text) Then
datumString = txtUTADate.Text
SQLWhere = "And CAST(U.Rechnungsdatum AS date) = '" & datumString & "'"