Dynamic temp-table in dynamic browse result-list error

schaapie

Member
Dynamic temp-table in dynamic browse result-list error

In my code i'm doing the following:
create a dynamic temp-table
fill it with 25+ records
create a dynamic browse for the complete temp-table
create a dynamic query for the complete temp-table

Now when I insert a row into the browse (and to the temp-table and query)
progress seems to create 2 result-list entries pointing to the same record.
This only seems to happen when I create more records then there are lines in the view-port of the browse.
Best viewed with this sample-code.
http://home.planet.nl/~knijn/prog/csvkaal.p

Press ctrl-O to open/create the temp-table
Press ctrl-N 3 times to create 3 new rows
Cursor-up to row 1
Now ctrl-end will show you 3 duplicate rows at the end of the browse.
Editing these rows at the end will also effect the rows in the beginning!

Does anyone have any idea how I can prevent this?
It doesn't seem to happen when there are fewer rows then there are lines in the browse view-port

Thanks
Schaapie
 

Attachments

  • csvkaal.p
    5.5 KB · Views: 55
Top