exit file index loop when multiindexing was on
This commit is contained in:
parent
1a6d55d982
commit
bb59b39773
@ -33,12 +33,11 @@ Public Class frmIndexFileList
|
|||||||
|
|
||||||
CheckedListBoxControl1.Items.Add(New SplitFile With {
|
CheckedListBoxControl1.Items.Add(New SplitFile With {
|
||||||
.FileName = oFilename,
|
.FileName = oFilename,
|
||||||
.Exists = oFileExists
|
.Exists = oFileExists,
|
||||||
|
.[Date] = oImportDate
|
||||||
})
|
})
|
||||||
Next
|
Next
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
CheckedListBoxControl1.CheckAll()
|
CheckedListBoxControl1.CheckAll()
|
||||||
|
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
@ -50,6 +49,7 @@ Public Class frmIndexFileList
|
|||||||
Public Class SplitFile
|
Public Class SplitFile
|
||||||
Public FileName As String
|
Public FileName As String
|
||||||
Public Exists As Boolean
|
Public Exists As Boolean
|
||||||
|
Public [Date] As Date
|
||||||
|
|
||||||
Public Overrides Function ToString() As String
|
Public Overrides Function ToString() As String
|
||||||
If Exists Then
|
If Exists Then
|
||||||
|
|||||||
@ -218,6 +218,11 @@ Public Class frmStart
|
|||||||
If File.Exists(CURRENT_WORKFILE) = True And DTACTUAL_FILES.Rows.Count > 0 Then
|
If File.Exists(CURRENT_WORKFILE) = True And DTACTUAL_FILES.Rows.Count > 0 Then
|
||||||
Open_IndexDialog()
|
Open_IndexDialog()
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
' If multi-indexing is active, all files have been indexed by now, so we can leave the loop
|
||||||
|
If MULTIINDEXING_ACTIVE Then
|
||||||
|
Exit For
|
||||||
|
End If
|
||||||
Next
|
Next
|
||||||
|
|
||||||
Show()
|
Show()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user