pjohns
11th May 2005, 10:10
Hello,

I am trying to change the way tdsls4508m000 displays it's data. The session 'Change Key' setting is using index 2 which is "project, item, container". I have added a new index to the tdsls041 table using only Item. I have then set the session 'Change Key' settings to only use this new index. On the session form, which is form type 3, I have removed the Project and Container field leaving only the Item field. When I do a search for an item the session will always duplicate all but the last record. i.e. If there are two records I get three, if there are five I get nine. If I select refresh, the duplicates disappear.

What can I do to resolve this?

Thanks in advance

PJ

pjohns
19th May 2009, 11:51
Bump.....after 4 years I've come full circle back to this problem. Can anybody help this time round?

Thanks

mark_h
19th May 2009, 16:26
Can you put it in debug mode and step through it? Or maybe after the find execute a refresh - or if possible an execute(first.set). I am also assuming that the project and container are always empty.

pjohns
19th May 2009, 16:52
Thanks for your reply Mark,

I don't have the source for this session so my options are limited.

The problem would appear to occur if you re-size the form window and then scroll up and down you then end up with duplicates. If I do a refresh the records are displayed correctly.

If I change back to the standard index I do not experience this issue.

mark_h
19th May 2009, 17:23
It almost sounds like something in the script - you wouldn't happen to have one of the source extenders would you? Or can you clone the session and create your own script. It is a display session, so maybe there is not alot of code that would have to be duplicated. Then with your own script and forms you can disable resizing the form. I know someone posted some code for me that worked.

mark_h
19th May 2009, 17:24
Ooops - what I was thinking was clone it, get it working - then use the new script for tdsls4508m000. If you want to keep same session name.

pjohns
19th May 2009, 17:39
Thanks for your comments Mark I'll give it a go.

Cheers

PJ