02-22-2021 06:52 AM
I'm trying to run some code when a user saves a table using the SQL table editor.
However I'm not able to see anything happen. My setup is as shown in the attached.
02-26-2021 05:49 AM
Hi Paul,
I see that you are trying to circumvent the default process of saving records using the commented out section of SqlTableEditorSaveData script (i.e. using the BRApi.Database.SaveDataTableRows function).
I don't think you need to use this since it looks as though you're simply updating existing records within your custom table.
Try commenting or delete that whole section out (from Using dbconn to End Using) and then reset saveDataTaskResult.CancelDefaultSave back to True.
Hope this helps!
Cosimo