> container.absolute_url()+'/my-documents/?field1='+field1&'field2='+field2
> 
> Executing the command returns the following error:
> 
>     "unsupported operand type(s) for &: 'str' and 'str'"
> 
> 
> The "&"symbol from all my research should separate the variables.  Does Zope
> use some other symbol?
No. Your code is wrong because you have '&' outside string:

container.absolute_url()+'/my-documents/?field1='+field1&'field2='+field2
                                                       ^^^^^

This should be:

container.absolute_url()+'/my-documents/?field1='+field1+'&field2='+field2


BTW. This list is for Zope and database issues.

-- 
Maciej Wisniowski
_______________________________________________
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db

Reply via email to