[Gambas-user] collection of collection problem

Fabien Bodard gambas.fr at ...626...
Wed Mar 22 09:17:55 CET 2017


Why did you want to use collections ?... as it slow down all the stuff
? can you be more precise in your need so i can help you

2017-03-21 23:06 GMT+01:00 PICCORO McKAY Lenz <mckaygerhard at ...626...>:
> 2017-03-21 11:24 GMT-04:00 Charlie <charlie at ...2793...>:
>> Can you simplify the code so we can run it or upload the program.
>
> lets get simple:
>
> i want a registri "order" that have many "products" so :
>
> object (1 element with many attrs)
>
> and one of those attrs, its the cod_contenido , of the products of the order
>
> attr:cod_contenido-> (object with many elements, and each element many
> atrrs)
>
> In java, theres DAO objects, but with collections, and in php more easy,
> only an array in array!
>
> i mean:
>
> |-----------------------------|
> |   ORD101                    |
> |-----------------------------|
> | cod_orde:101                |
> | des_order:description bla bl|----------------------------|
> | cod_contents:1011           |        CON1011             |
> |-----------------------------|----------------------------|
>                               |    cod_product:101,        |
>                               |    cod_order:101,          |
>                               |    can_product:2           |
>                               |----------------------------|
>                               |    cod_product:102         |
>                               |    cod_order:101           |
>                               |    can_product:12          |
>                               |----------------------------|
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user



-- 
Fabien Bodard




More information about the User mailing list