prodataset fill() batch-size return record base on temp-tabl

Posted by mhtan88 on 09-Nov-2009 23:42

hi all,

if my temp-table define like below:

define temp-table tttemp

      field a1 as integer

      feild b1 as integer

      index idx1 a1.

batch-size = 10.

do i = 1 to 99:

     create tttemp.

     a1 = 2.    

     b1 = i.

end.

create tttemp.

a1 = 3.    

b1 = i.

when i dataset:fill() that time

first batch return 10 rows record. with

2

2

2

2

2

2

2

2

2

3

then second batch till the last batch it return all 2.

is it something wrong with the fill with temp-table 's index?

Thank you

Regards,

TAnMH

All Replies

This thread is closed