Zappatini - 2 parameterValues in a addedValuesMacros.query - how to write 
2007.03.12; 18:04:54 Uhr (reads: 7263, 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

|
|
David Bayly - 2 parameterValues in a addedValuesMacros.query - how to write 
2007.03.12; 18:19:16 Uhr (reads: 9633, 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

|
|
Zappatini - 2 parameterValues in a addedValuesMacros.query - how to write 
2007.03.12; 21:19:49 Uhr (reads: 9782, 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

|
|
|