credtisafe, etc.
This commit is contained in:
@@ -1488,7 +1488,7 @@ Public Class cSyska_Interface
|
||||
For Each r_OP In dt_OP.Rows
|
||||
|
||||
Try
|
||||
If KdNr > 1 Then OP_ID_CNT = SQL.getValueTxtBySql("SELECT isnull(MAX(OP_ID),0)+1 FROM [Offene Posten]", "FMZOLL") 'Wenn ein Kunde geändert wird, wird die höchste ID ermittelt
|
||||
If KdNr > 1 Then OP_ID_CNT = SQL.getValueTxtBySql("SELECT isnull(MAX(OP_ID),0)+1 FROM [Offene Posten] AND Firma_ID = '" & Firma_ID & "'", "FMZOLL") 'Wenn ein Kunde geändert wird, wird die höchste ID ermittelt --> höchste ID des OPS der FIRMA!!!!
|
||||
|
||||
Dim OP As New VERAG_PROG_ALLGEMEIN.cOffene_Posten()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user