Developer forum

Forum » Development » Datalists: Using @Request issue

Datalists: Using @Request issue


Reply
Hi,

I made a view with the SQL-syntax similar to this:
SELECT * FROM table WHERE column = '@Request("Nr")'
When I'm testing the view with the Request(Nr) value of 100010, nothing is listed.

But, when I'm changing the SQL-syntax to this with a static value:
SELECT * FROM table WHERE column = '100010' , 9 records are found.

Why is this behaving like this?

The SQL-server is a remote server.

Regards,
Jonas

Replies

 
Jeppe Eriksson Agger Dynamicweb Employee
Jeppe Eriksson Agger
Reply
Are you testing this in backend or in frontend? There is currently an issue with test values in backend but it should work normally in frontend.
 
Reply
Thanks, you're right.

It works in frontend.

 

You must be logged in to post in the forum