> I thought I do something clever and tried the following thing:
> 
> 
> $map := """        
> food{"meat"}:            [db]meat;
> food{"vegetable"}:        [db]vegetable;
> food{"drink"}:            [db]drink;
> ...
> location{"name"}:        [db]name;
> location{"street"}:    [db]street;
> location{"city"}:        [db]city;
> ...
> $rs := RowSet.newFromSelection(->[db]; $map)
> 
> What I wanted to achive was, to generate 2 collections food and location
> inside the rowset to be able to loop through them.

Are they from different tables? Is the data related? If not, just use two 
different rowsets.

Regards,

   Aparajita
   www.aparajitaworld.com

   "If you dare to fail, you are bound to succeed."
   - Sri Chinmoy   |   www.srichinmoy.org

_______________________________________________
Active4D-dev mailing list
[email protected]
http://list.aparajitaworld.com/listinfo/active4d-dev
Archives: http://active4d-nabble.aparajitaworld.com/

Reply via email to