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.

But it seems I only get individual collection items in the rowset that are
even hard to access as $row{ food{"meat"}} is not valid expression.


Any idea how to do what I want.

Peter


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

Reply via email to