ATEZ Bereitstellung DY; 4802 ATILLA

This commit is contained in:
2023-08-24 08:44:30 +02:00
parent 27d0b8f95c
commit fa40157528
8 changed files with 47 additions and 17 deletions

View File

@@ -16,7 +16,7 @@ Module cATILLA_Speditionsbuch
Public Sub LOAD(datum As Date)
Try
Using conn As SqlConnection = GetNewOpenConnectionFMZOLL()
Using cmd As New SqlCommand("SELECT * FROM Speditionsbuch WHERE FilialenNr=4801 and SB_Zeitstempel > '" & datum.ToShortDateString & " 00:00:00' and Bar=0 ", conn)
Using cmd As New SqlCommand("SELECT * FROM Speditionsbuch WHERE FilialenNr IN (4801,4802) and SB_Zeitstempel > '" & datum.ToShortDateString & " 00:00:00' and Bar=0 ", conn)
Dim dr = cmd.ExecuteReader()
While dr.Read