@romit
I can't repeat it either. Maybe you could attach a project with such a problem?
Interface Api.DatabaseUpdate --> Database Error
-
Hello, this is an urgent matter for my development - @support .
When the project is opened, add a record to the Table1 --> Col2.
Below you will see the Interface.txt with a simple button to update the Database. (Enable Debug On Interface!)
Console inside Debug will show all valid data.
Table: 1
Column: 2
Value: Random IntWhen fully loaded and the button is hit, the RecordCount is returned Nulled.
Inside the BAS Studio Debug Located in D:\BrowserAutomationStudio\apps\21.3.0\debug.txtYou'll notice the new error:
Debug 14:03:32: Database ErrorApi Call Code: (id is a return string)
Api.DatabaseUpdate(DBData.Records[0].id, { 2: num }, 1).then(function(RecordCount) { console.log('Records: ' + RecordCount) })Regards,
Allister0_1541189544838_AllisterDevelopment.main.interface.txt
0_1541189549146_AllisterDevelopment.xml