Values in fields are different to foundset selected record

Hi everybody,

we are currently experiencing this strange issue.
We have a form simply based on a table. There is a button that creates new record. When you press this button new record is really created however the form displays in its fields the old values of the last selected record. This is quite strange, because when I debug it I can see that the foundset of this form contains new - blank record and this record is selected! But the values in form fields are different and when you type something in these fields it’s affecting the old record…eventhough the new blank record is selected.

Didn’t anybody have a similar problem???
Thanks a lot for any responses.

OK… so we’ve found where the problem was.
This line was causing it:

forms[formName].foundset.multiSelect = true;

The problem was that the last record remained selected together with newly created record. As a result the old selected record was printed in the form instead of the new blank record.
So it was pretty much a issue of multiselect feature of a foundset. I am now wondering how exactly does the foundset behave on creating/deleting record when multiselect is enabled.

this issue will be fixed in the next release