Hi,
Anyone know when Servoy actually writes back to a MySQL Database. I have a set of Radio Buttons (3) built from a valuelist of 3 rows (CASH, 7 Day, 30 Days) and when I toggle one of the radio buttons, it only seems to update once I change records?
If this is so, is there a way of manually updating the row?
PS: I am not using transaction as of yet.
Dave
there are 3 triggers to save a record
-a mouse click anywhere on the form
-javascript controller.saveData() called by your method
-change form or record (manual or script)
Jan,
I have been using
controller.Savedata()
but have noticed that in my forms, this causes the cursor to lose focus in the field it was in?? Also, if I have two fields and have controller.SaveData() on the ‘lost focus’ of that field AND the next field has ‘SelectOnEnter’ enabled, the Select on enter fails for thsi field? Remove the saveData() and the fields behave normally.
Is this normal behaviour?
Dave.
saveData does a “lose” focus operation, to make sure it has all the field data is saved…(focusing and saveData do not work together)