Agustin Gosende
Posts: 0
Joined: Fri Mar 13, 2015 8:52 pm

Two Storage Variables into a DB Query AND

I ́m trying to use 2 storage variables "ciclo" and "formahoja" but is not working. Here mi screens, any idea?

Image Image

Any idea?

Jack Bua
Posts: 0
Joined: Sun Jun 28, 2015 10:16 pm

Two Storage Variables into a DB Query AND

Don't map both variable to the where parameter. Instead, use:

localStorage.getItem("STORAGENAME");

to reference one in the mapping from the other storage. So in other words, just one mapping, using "value" to refer to that storage variable, and the above code to refer to the other variable.

Agustin Gosende
Posts: 0
Joined: Fri Mar 13, 2015 8:52 pm

Two Storage Variables into a DB Query AND

It works!! Thanks

Jack Bua
Posts: 0
Joined: Sun Jun 28, 2015 10:16 pm

Two Storage Variables into a DB Query AND

You are welcome. Glad it works.

Return to “Issues”