« Return to Thread: Advice NOT 4D

Re: new to Batch ...

by Raimon Fernandez Sirera-2 :: Rate this Message:

Reply to Author | View in Thread

ok, I copied this code from page 429 Iterating Through Rows, and I  
thought those $attributes were there only for changing the default  
ones when you create a batch.

I'll change and see ...

thanks,


raimon


On 29/01/2008, at 17:18, Aparajita Fishman wrote:

>> // Make the batch using defaults
>> $attributes:=""
>> $batch := Batch.newFromSelection(->[FORMALITZACIO];$attributes) //  
>> here is where Active4D throughs the error
>
> Looking at the documentation for Batch.newFromSelection, it says the  
> second parameter is supposed to be a number which is the batch size.  
> Take a look at the documentation again.
>
> Regards,
>
>   Aparajita
>   www.aparajitaworld.com
>
>   "If you dare to fail, you are bound to succeed."
>   - Sri Chinmoy   |   www.srichinmoy.org
>
>
> _______________________________________________
> Active4D-dev mailing list
> Active4D-dev@...
> http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
> Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
>


_______________________________________________
Active4D-dev mailing list
Active4D-dev@...
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

 « Return to Thread: Advice NOT 4D