I was trying to ask why the rowset example worked:

Is it because with RowSet.newFromSelection, inmap disregards whitespace before and after the column:value pairs but a4d.web.collectionItemsToQuery
does not?

I tried: $keys:=replace string($keys;char(13);"") before the call but this
did not work either.

It would be nice to use the heredoc format for clarity and updating.

Change the body of the for loop in collectionItemsToQuery to this:

for ($i; 1; $count)
   $item := trim($items{$i})
$query := build query string($inSwitches + $query; $item; $inCollection{$item})
end for

That will allow you to use heredoc strings for the keys.

Regards,

   Aparajita
   www.aparajitaworld.com

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


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

Reply via email to