addedValues Plugin

...Powerful Free! Database Expansion for Manila
logoBottle:

(1 or more words)


Get tropes here!
Click to see internals
Report bug


Land-Rovers of Switzerland

sitepic_lrosscreenshot.gif:
Viewable with Any Browser

Members
Join Now
Login

2 parameterValues in a addedValuesMacros.query - how to write

Previous topic: Next topic:
inactiveTopic 2 parameterValues in a addedValuesMacros.query - how to write topic started 2007/03/12; 18:04:54
last post 2007/03/12; 21:19:49
user Zappatini - 2 parameterValues in a addedValuesMacros.query - how to write  blueArrow
2007/03/12; 16:04:54 (reads: 61200, responses: 2)
Hello,

I don't find a solution, how to write 2 parameterValues in one query. One paramter is for language, the other for a variable the editor has to select. I tryed different ways to write it, but without success.

One way I tryed it (without success):
&£123;addedValueMacros.query("qryFact06EinzelAktuell", "repFact06EinzelAktuell", sortDirection:"ascending", parameterValues:"prmSelect06Name=Forderung 01;prmSprache06=de")}

If I work only with one of the two paramters, it works. When I write both, no story is shown.

Which is the right way to write it?

Thanks and regards
Gilberto
--

gilberto zappatini
zappatini gmbh, ludwigstr. 8, CH-9010 st.gallen

telefon +41 71 244 41 71
fax +41 71 244 41 72
web http://www.zappatini.com


user David Bayly - 2 parameterValues in a addedValuesMacros.query - how to write  blueArrow
2007/03/12; 16:19:16 (reads: 60439, responses: 0)
As stated

>parametervalues - optional, default empty. Format is p1=val1&p2=val2
>where p1, p2 .. are the names of parameters defined in queryID
>(using parameter(p1), parameter(p2)...) and val1, val2,... are the
>values to assign before running this query.

so

parameterValues:"prmSelect06Name=Forderung 01&prmSprache06=de"

At 18:04 +0100 07/03/12, webmaster-zappatini.com wrote:
>Hello,
>
>I don't find a solution, how to write 2 parameterValues in one
>query. One paramter is for language, the other for a variable the
>editor has to select. I tryed different ways to write it, but
>without success.
>
>One way I tryed it (without success):
>&£123;addedValueMacros.query("qryFact06EinzelAktuell",
>"repFact06EinzelAktuell", sortDirection:"ascending",
>parameterValues:"prmSelect06Name=Forderung 01;prmSprache06=de")}
>
>If I work only with one of the two paramters, it works. When I write
>both, no story is shown.
>
>Which is the right way to write it?

--

- David Bayly. Programmer and digest reader. dbayly at udena dot ch
addedValues examples at http://www.addedValues.org/showcase


user Zappatini - 2 parameterValues in a addedValuesMacros.query - how to write  blueArrow
2007/03/12; 19:19:49 (reads: 65626, responses: 0)
>As stated
>
>parametervalues - optional, default empty. Format is p1=val1&p2=val2 where p1, p2 .. are the names of parameters defined in queryID (using parameter(p1), parameter(p2)...) and val1, val2,... are the values to assign before running this query.
>
>so
>
>parameterValues:"prmSelect06Name=Forderung 01&prmSprache06=de"
>
Thank you - it worked immediately. I tryed & but always with blanks :-( Now I made a notice in my help with the link to the help on AddedValues.
Gilberto
--

gilberto zappatini
zappatini gmbh, ludwigstr. 8, CH-9010 st.gallen

telefon +41 71 244 41 71
fax +41 71 244 41 72
web http://www.zappatini.com