I just spend a day searching for a bug, which caused a lot of problems.
This is a sample code.
Code: Select all
@ 3,1 DCBROWSE oBrowseZoek ALIAS 'bonart' SIZE 150,20 ;
EDIT xbeBRW_ItemSelected MODE DCGUI_BROWSE_EDITDOWN FREEZELEFT { 1,2 }
DCBROWSECOL DATA {|| stock->(dbseek(bonart->art_nummer)), bonart->art_nummer} HEADER "product" PARENT oBrowseZoek WIDTH 8
DCBROWSECOL DATA {|| stock->description } HEADER "Omschrijving" PARENT oBrowseZoek WIDTH 15
DCBROWSECOL DATA {|| stock->description } HEADER "Omschrijving" PARENT oBrowseZoek WIDTH 15
DCBROWSECOL ...

Because of the freezeleft this causes problems! The solution was to put another dbseek in column three. Otherwise column three will show the stock->description of the previous row!
So if you ever have strange results and you are using freezeleft... be aware.