API-Filter, Sendungsdetails, etc.
This commit is contained in:
@@ -187,7 +187,7 @@ Public Class usrCntlAPI
|
|||||||
|
|
||||||
Function getAPIDatumWhere() As String
|
Function getAPIDatumWhere() As String
|
||||||
Dim sqlstr = ""
|
Dim sqlstr = ""
|
||||||
If kdtxtKunde.Text <> "" And IsNumeric(kdtxtKunde.Text) Then sqlstr &= " AND [api_KundenNr] LIKE @Kunde "
|
If kdtxtKunde.Text <> "" And IsNumeric(kdtxtKunde.Text) Then sqlstr &= " AND [api_KundenNr] = @Kunde "
|
||||||
|
|
||||||
|
|
||||||
If cboDatum._value = "ADat" Then
|
If cboDatum._value = "ADat" Then
|
||||||
@@ -252,7 +252,8 @@ Public Class usrCntlAPI
|
|||||||
Function getAPIList() As List(Of VERAG_PROG_ALLGEMEIN.SQLVariable)
|
Function getAPIList() As List(Of VERAG_PROG_ALLGEMEIN.SQLVariable)
|
||||||
|
|
||||||
Dim list As New List(Of VERAG_PROG_ALLGEMEIN.SQLVariable)
|
Dim list As New List(Of VERAG_PROG_ALLGEMEIN.SQLVariable)
|
||||||
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("Kunde", kdtxtKunde.KdNr_value))
|
|
||||||
|
If kdtxtKunde.Text <> "" Then list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("Kunde", kdtxtKunde.Text))
|
||||||
|
|
||||||
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("Datum_von", txtAbfertDat.Text & " 00:00:00"))
|
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("Datum_von", txtAbfertDat.Text & " 00:00:00"))
|
||||||
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("Datum_bis", txtAbfertDatBis.Text & " 23:59:59"))
|
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("Datum_bis", txtAbfertDatBis.Text & " 23:59:59"))
|
||||||
|
|||||||
Reference in New Issue
Block a user