Fixed Sync ID issue

This commit is contained in:
Michael J. Seiferling
2015-11-14 15:55:05 -06:00
parent e13b6cd58b
commit 040d6c4bf3
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ Public Class mgrMonitorList
Dim oParamList As New List(Of Hashtable)
sSQL = "INSERT OR REPLACE INTO monitorlist (MonitorID, Name, Process, Path, AbsolutePath, FolderSave, FileType, TimeStamp, ExcludeList, Hours, Enabled, MonitorOnly) "
sSQL &= "VALUES (COALESCE((SELECT MonitorID FROM monitorlist WHERE Name = @Name AND Process = @Process), @ID), @Name, @Process, @Path, @AbsolutePath, @FolderSave, @FileType, "
sSQL &= "VALUES (@ID, @Name, @Process, @Path, @AbsolutePath, @FolderSave, @FileType, "
sSQL &= "@TimeStamp, @ExcludeList, @Hours, @Enabled, @MonitorOnly);"
For Each oGame As clsGame In hshGames.Values