Hello,
I was using 4.6 of UniDac and now am on 5.3.10
I have noticed a change of behaviour with Append..Post..Refresh.
The 4.6 version's behaviour was as follows.
A tDBGrid is showing a table's values, in this case, a Waiting List of Patients. A patient is added via a select list, then the code does a uniquery.append, sets the fields then does a uniquery.post. It then calls Uniquery.refresh.
The record just added is highlighted and appears in the correct place in the list, eg, if the list is alphabetical, and the list was Abbot, Costello and Smith, and we added Jones, the list is now Abbot, Costello, Jones and Smith, importantly, with Jones highlighted.
Under 5.3.10, same code, Jones is still added in the correct place, but the highlight is now on the first record, in this case, Costello.
If we then scroll down a couple of records, and click a Refresh Button which simply calls uniquery.refresh, all works the same way as it did under 4.6.
It is causing a lot of problems since they then have to search for the newly added person in the list.
Any one had this problem or know of a setting that has changed
Thanks
AL
Post then Refresh different under 5.3.10
Re: Post then Refresh different under 5.3.10
I can't reproduce the problem. Please try to compose a small sample to demonstrate the problem and send it to viktorv*devart*com.
Re: Post then Refresh different under 5.3.10
Hi Victor,
So when you did it, the newly added record was the highlighted one after
Uniquery.append;
< assign fields >
Uniquery.post;
Uniquery.refresh;
I am connecting to Sybase SQL Anywhere data base via ODBC.
Can I 'go back' to 4.6 to do further testing?
Also, I am not sure how I can send you a small sample.
Does SmartRefresh settings have anything to do with it. I have left all
options as standard, except fetch all, which I tried with true and False, but with the same results.
AL.....
So when you did it, the newly added record was the highlighted one after
Uniquery.append;
< assign fields >
Uniquery.post;
Uniquery.refresh;
I am connecting to Sybase SQL Anywhere data base via ODBC.
Can I 'go back' to 4.6 to do further testing?
Also, I am not sure how I can send you a small sample.
Does SmartRefresh settings have anything to do with it. I have left all
options as standard, except fetch all, which I tried with true and False, but with the same results.
AL.....
Re: Post then Refresh different under 5.3.10
Please send a complete sample to alexp*devart*com to demonstrate the issue, including a script to create and fill a table.