Microsoft Windows 2000 5.00.2195 Service Pack 4
Servoy Developer Version R2 2.1.1-build 313
Java version 1.4.1_02-b06 (Windows 2000)
Adaptive Server Anywhere 9, version 9.0.1.1751
Sybase Central 4.3.0.2184
At first, I couldn’t reproduce it, even when I set all the form and element triggers the same… then I used a field as a checkbox, with a calculation, and off it went!
The checkbox field with the onDataChange trigger is called ‘flag_selected’ and is calculated as follows:
I’ve found that I can reproduce this with other calculated fields as well, though.
Can you reproduce this with the additional information? If so, whaddaya think? Bug or just developer misunderstanding? onDataChange seems to be triggering on field evaluation, not just when it changes. Is that expected? Am I seeing this right?
Version R2 2.1.2-build 315
Java version 1.4.2-38 (Mac OS X)
SyBase ASA
I have tried but cannot reproduce this behaviour !
I even set up both stored and unstored calculated columns.
Can you create a solution which demonstrates it and post it to assess ?
You know that we are the same people divided by language and it just may be that I am misinterpreting the conditions under which it causes the problem for you
In Servoy 3.1.3 I’m seeing similar behaviour, in developer. If I move to a form with
forms.invoices.controller.showRecords(foundset)
it triggers the onDataChange method of a field in the invoices form. There’s nothing else that calls that method.
It’s a plain text field, with a value list.
oh — it doesn’t trigger every time. Don’t you hate intermittent things. Any suggestions on where to go hunting?