Issue with databaseManager.saveData in an afterRecordUpdate

Questions and answers on designing your Servoy solutions, database modelling and other 'how do I do this' that don't fit in any of the other categories

Issue with databaseManager.saveData in an afterRecordUpdate

Postby bodnarescu.diana » Tue Feb 05, 2019 1:43 pm

Hello,

I am in an afterRecordUpdate event and creating a newRecord in a different table than the one that triggered the afterRecordUpdate.
I am calling databaseManager.saveData(newRecord). It returns true but the record's pk is a DbIdentValue, so not really saved.
Same thing happens if i call databaseManager.saveData().

I see in this ticket https://support.servoy.com/browse/SVY-1088 that this issue should be solved,
I would really appreciate advice or an update on this.

Thank you,
Diana
Diana Bodnarescu
Servoy Valued Professional
Freelance Servoy Developer
bodnarescu.diana
 
Posts: 25
Joined: Tue Mar 29, 2016 10:43 am

Re: Issue with databaseManager.saveData in an afterRecordUpd

Postby bodnarescu.diana » Tue Feb 05, 2019 4:12 pm

Important to mention: I am using Servoy Developer 8.3.3
Diana Bodnarescu
Servoy Valued Professional
Freelance Servoy Developer
bodnarescu.diana
 
Posts: 25
Joined: Tue Mar 29, 2016 10:43 am


Return to Programming with Servoy

Who is online

Users browsing this forum: No registered users and 9 guests

cron