neu
This commit is contained in:
@@ -59,10 +59,12 @@
|
||||
Case CheckState.Unchecked : SQLstr &= " AND Auswahl='I' " : suchparam = True
|
||||
End Select
|
||||
Select Case VERAG_PROG_ALLGEMEIN.cAllgemein.FIRMA
|
||||
Case "IMEX" : SQLstr &= " AND [FilialenNr]='5501' " : suchparam = True
|
||||
Case Else : SQLstr &= " AND isnull([FilialenNr],0)<>'5501' " : suchparam = True
|
||||
Case "VERAG", "ATILLA" : SQLstr &= " AND isnull([FilialenNr],0) NOT IN ('5501','5601','5701','5801') " : suchparam = True
|
||||
Case Else : SQLstr &= " AND [FilialenNr]='" & VERAG_PROG_ALLGEMEIN.cAllgemein.STAMMFILIALE & "' " : suchparam = True
|
||||
End Select
|
||||
|
||||
|
||||
|
||||
'If txtPostfachOrt.Text <> "" Then SQLstr &= " AND Postfach LIKE '%" & txtPostfachOrt.Text & "%'" : suchparam = True
|
||||
'If txtPostfachPlz.Text <> "" Then SQLstr &= " AND PLZPf LIKE '%" & txtPostfachPlz.Text & "%'" : suchparam = True
|
||||
'MsgBox(SQLstr)
|
||||
|
||||
Reference in New Issue
Block a user