2 Commits

Author SHA1 Message Date
Jonathan Jenne
1ac05c6fdd Version 2.3.0.6 2021-11-08 13:35:44 +01:00
Jonathan Jenne
de83ad8e8e my code is working, i dont know why,
my code is not working, i dont know why
2021-11-08 13:35:13 +01:00
3 changed files with 11 additions and 3 deletions

View File

@@ -653,6 +653,10 @@ Public Class ClassControlCreator
AddHandler oView.ShowingEditor, AddressOf View_ShowingEditor
AddHandler oView.ShownEditor, AddressOf View_ShownEditor
AddHandler oView.ValidateRow, AddressOf View_ValidateRow
AddHandler oControl.LostFocus, Sub(sender As GridControl, e As EventArgs)
Dim oView2 As GridView = sender.FocusedView
oView2.UpdateCurrentRow()
End Sub
Return oControl
End Function

View File

@@ -13,7 +13,7 @@ Imports System.Runtime.InteropServices
<Assembly: AssemblyCompany("Digital Data")>
<Assembly: AssemblyProduct("Process Manager")>
<Assembly: AssemblyCopyright("Copyright © Digital Data 2021")>
<Assembly: AssemblyTrademark("2305")>
<Assembly: AssemblyTrademark("2306")>
<Assembly: ComVisible(False)>
@@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
' übernehmen, indem Sie "*" eingeben:
' <Assembly: AssemblyVersion("1.0.*")>
<Assembly: AssemblyVersion("2.3.0.5")>
<Assembly: AssemblyVersion("2.3.0.6")>
<Assembly: AssemblyFileVersion("1.0.0.0")>

View File

@@ -2203,7 +2203,6 @@ Public Class frmValidator
oBIT = 1
End If
Dim oSQL = $"EXEC PRPM_GET_NEXT_DOC_INFO {CURRENT_ProfilGUID},{CURRENT_DOC_ID},{USER_ID}"
Dim oDT As DataTable = Database_ECM.GetDatatable(oSQL) ', "Get_Next_GUID")
If oDT.Rows.Count > 0 Then
oNewGUID = oDT.Rows(0).Item(0)
@@ -4873,6 +4872,8 @@ Public Class frmValidator
Dim oRowCount As Integer = dgv.DataSource.Rows.Count
LOGGER.Debug("Grid Row Count: [{0}]", oRowCount)
'Wenn kein Wert ausgewählt wurde und der Index aber gesetzt werden muss
If oIsRequired = True And oRowCount = 0 Then
oMissing = True
@@ -4913,6 +4914,7 @@ Public Class frmValidator
str = String.Join(PMDelimiter, oValueList.ToArray)
' 22.10.2021 Attempt at fixing empty lines appearing in indexes
LOGGER.Debug("Grid Value before saving: [{0}]", str)
If str.Trim.Length = 0 Or str.Trim.Replace(PMDelimiter, "").Length = 0 Then
LOGGER.Debug("Empty line in Grid [{0}]. Skipping.", oControlName)
Continue For
@@ -4957,6 +4959,8 @@ Public Class frmValidator
Else
LOGGER.Debug("Required = False And RowCount > 0")
Dim oValue As New List(Of Object) From {String.Empty}
If IDB_ACTIVE = False Then