@Erel It is very hard to reproduce, but I have experienced changing the code
at runtime is not always taken into account after saving and continuing in 7.30 BETA 1.
Stopping the app and re-running uses the correct code.
2 cases where I noticed this today:
I changed the 50 into 100, but it kept using the 50
rCellValues.Add(ABMShared.Truncate(tmpEx.exComment,50))
After edit + save (debug box becomes green)
rCellValues.Add(ABMShared.Truncate(tmpEx.exComment,100))
And in a query that was wrong (I typed tRegistration
s instead of tRegistration): I kept getting the error the table tRegistration
s not found although in the code it was corrected to tRegistration)
SQL_str = "UPDATE tRegistrations SET regRegTypID=?, regOTLastModifiedLoginID = ?, regOTCreationTag = ?, regSysrlID=? WHERE regExID=? AND regRegTypID=? AND regSysrlID=?"
After edit + save (debug box becomes green)
SQL_str = "UPDATE tRegistration SET regRegTypID=?, regOTLastModifiedLoginID = ?, regOTCreationTag = ?, regSysrlID=? WHERE regExID=? AND regRegTypID=? AND regSysrlID=?"
Both are in a Code Module if this helps. Maybe something to do with the being project global instead of being an instance of a class?