Checked archives and read documentation (but may of missed it:-), but
I'm confused on how to set the size of the batch using fusebox and
rowsets.
From the demo database:
$batch := Batch.new(records in selection([vendors]); $attributes)
$qryVendors := RowSet.newFromSelection(->[vendors]; $map; $batch;
$callback)
The demo does not use "from row set" or "from selection" or "from
array", but the pure "new" method - which is not in the
documentation. Reading the library remarks I see where it passes the
$attributes collection instead of a size (I think to looks for
"bst"). This seems to be a link between the rowset and the batch. I
have to create the batch before the rowset. What little I could find
in the archives created the rowset first and then the batch.
If I replace $attributes with 15, I get the first 15 records but the
links don't work because the $attributes link is broken. I can set
the defaults, but that changes it for everything.
I just want to to set the size to 15 for this particular batch.
Steve Alex
AIDT
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/