Skip to content

Commit 6ec5ad7

Browse files
committed
[+] allow updating task details in the grid, fixes #32
1 parent ab02bec commit 6ec5ad7

1 file changed

Lines changed: 18 additions & 1 deletion

File tree

udatamodule.lfm

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,24 @@ object dmPgEngine: TdmPgEngine
183183
' :"connect_string"'
184184
')'
185185
)
186+
UpdateSQL.Strings = (
187+
'UPDATE timetable.task SET ('
188+
' command,'
189+
' kind,'
190+
' run_as,'
191+
' ignore_error,'
192+
' autonomous,'
193+
' database_connection'
194+
' ) = ('
195+
' :"command",'
196+
' :"kind",'
197+
' :"run_as",'
198+
' :"ignore_error",'
199+
' :"autonomous",'
200+
' :"connect_string"'
201+
' )'
202+
'WHERE task_id = :"task_id"'
203+
)
186204
Options = [sqoKeepOpenOnCommit, sqoAutoApplyUpdates, sqoAutoCommit, sqoRefreshUsingSelect]
187205
Params = <
188206
item
@@ -192,7 +210,6 @@ object dmPgEngine: TdmPgEngine
192210
Size = 8
193211
end>
194212
ParseSQL = False
195-
UpdateMode = upWhereAll
196213
DataSource = dsChains
197214
Left = 192
198215
Top = 177

0 commit comments

Comments
 (0)