CTD5.2 SP2 Grid window refreshing pb, with Oracle

General discussion forum about all databases other than SqlBase.
erasme

CTD5.2 SP2 Grid window refreshing pb, with Oracle

Post by erasme » 04 Nov 2010, 16:48

Hi you all...

I'm using CTD5.2SP2 with Oracle 10.2 windows XP.
I want to propose the new Grid Table fonctionnality to my users but it seems not working properly on my computer.

First, I populate ( FillAll method) a grid window. => Ok
Then I sort columns (funny) => Ok
And I refresh my table with SalTblReset and a new SalTblPopulate( <FillAll> ) and blank rows appears between my populated rows !!!!!!! On the first creen only : when I scroll down the table with the vertical scrollbar, no other blank rows appear, everything ok..
I had this problem with the V5.2? the SP1, and the SP2 versions. :|

My grid window has the "discardable = no" parameter. The program is in use since 2003..

Have you any idea ? Anyone know this kind of problem ?
Thanks

UVS

Re: CTD5.2 SP2 Grid window refreshing pb, with Oracle

Post by UVS » 04 Nov 2010, 21:38

I have found that when I reset a Grid, I need to also clear the selection. Not sure why but it works for me. Though I've always done table resets through my own message:

Code: Select all

On PAM_Reset
   Call SalTblReset( hWndItem )
   Call SalTblClearSelection ( hWndItem  )
MartinD

Jeff Luther

Re: CTD5.2 SP2 Grid window refreshing pb, with Oracle

Post by Jeff Luther » 04 Nov 2010, 21:50

erasme:
My grid window has the "discardable = no" parameter.
And what is the max. rows value? If it's default, that's only 100 rows, so that could be the issue?

if it's so consistent for you, you should be able to come up with a test case for this. Also, in a test case, replace "Grid Window" with "Table Window" to test that. How to replace it?
1 - comment out the entire Grid Window section in your outline
2 - Replace 'Grid' with 'Table ' - no quotes, and cap. "T".
3 - uncomment the (now) Table Window and refresh if you have incl. libs.

Run the test again. Same behavior as with the grid, or not?

Oh, I also read "Then I sort columns (funny) => Ok"
And what happens if, with the grid, you do all your steps but do NOT do that sort step? Same problem?

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 0 guests