Sorry for the unfinished message, I hit send by mistake.

I was trying to ask why the rowset example worked:

$map := """
id: [contacts]id;
name: [contacts]name;
birthdate:[contacts]birthdate;
gender: [contacts]gender"""
$rs := RowSet.newFromSelection(->[contacts]; $map)

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.

TIA,

Mike Vogt
Millennium Data Services, Inc.


> The carriage returns are part of the heredoc string, they do 
> not get stripped out and are becoming part of the key name.
> >
> > $keys:="""
> > f_FName;
> > f_LName;
> > f_Primary_Classification;
> > f_Primary_Subject;
> > f_MultiBldg;
> > f_EMail;
> > recNum"""
> >
> Regards,
> 
>     Aparajita

_______________________________________________
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