by Bex » Thu Aug 28, 2008 6:31 pm
Yeah, or if you just rename one.
Perhaps you could compare the names? The relatively new group_concat function in SQLite is rather nifty and can be used for this purpose.
Code: Select all
FilterNames=SDB.Database.OpenSQL("SELECT GROUP_CONCAT(Name) FROM Filters ORDER BY ID").valuebyindex(0)
If Not SDB.IniFile.StringValue("ViewManager","FilterNames")=FilterNames Then Exit Sub
Yeah, or if you just rename one.
Perhaps you could compare the names? The relatively new group_concat function in SQLite is rather nifty and can be used for this purpose.
[code]FilterNames=SDB.Database.OpenSQL("SELECT GROUP_CONCAT(Name) FROM Filters ORDER BY ID").valuebyindex(0)
If Not SDB.IniFile.StringValue("ViewManager","FilterNames")=FilterNames Then Exit Sub[/code]