Display problem...urgent need help

Hello All,

I m trying to display some data in two frames...want to display two frames parallely...frames of size 40..
one starting at column 1 and another starting at 41.
Both frame's data display is inside the Repeat loop.
On every repeat iteration need to display diffrent data into the frame...

But clear frame does not clear the perivious data and for next iteration it displays the data after previous data.


I have created one similer example as below:

define temp-table tt_temp
fields month as integer
fields flag as logical
fields ready as logical
fields date as date.
define var first1 as integer init 0 no-undo.
define var sec1 as integer init 0 no-undo.
define var occ as integer init 0 no-undo.
form
month
flag
ready
date
with frame a column 1 size 40 by 10.

form
month
flag
ready
date
with frame b column 41 size 39 by 10.
occ = 1.
repeat:
if occ = 6 then leave.
sec1 = occ.
empty temp-table tt_temp.
clear All no-pause.

do while sec1 <= 12:
sec1 = sec1 + 1.
create tt_temp.
assign month = sec1
flag = No
ready = No
date = Date("01/04/11").
end.

for each tt_temp break by month:
if month <= 6 then do:
first1 = 1.
display month
flag
ready
date with frame a down.
down 1 with frame a.
end.
end.
for each tt_temp break by month:
if month <= 12 then do:
first1 = 1.
display month
flag
ready
date with frame b down.
down 1 with frame b.
end.
end.
occ = occ + 1.
end.

It also dont clears the frame....

Please help me with how to clear the frames and display the refreshed dat..

Thanks in advance..
 
Top