Andrew Nurse wrote:
The "Allowed URL Parameters" field uses the name of the QueryString parameter, not the name of the SQL parameter, so you should put "city" in that field, then you can use "@url_city" in your query.
In general, if you put "foo" in Allowed URL Parameters, the parameter "@url_foo" is declared.
Any update on this issue?!
I have the same problem with Report Module.
You can check this:
Test 1: OK
1. Allowed URL Parameters: foo
2. Active Data Source:DotNetNuke DataSource
3.Query: Select @url_foo
Save.
Set paramenter in the url ...Default.aspx?foo=1 ... return 1 .... Evrething is OK...
Test 2: Error
1. Allowed URL Parameters: foo
2.1 Active Data Source:Generic ADO.Net Data Source
2.2 ODBC Data Provider
2.3 Connection String : Provider=Microsoft.Jet.OLEDB.4.0;User ID=Admin;Data Source=D:\Web\www\dotnetnuke\Portals\0\db\db1.mdb;
3.Query: Select @url_foo
Save
Set paramenter in the url ...Default.aspx?foo=1 ... return 0 (defult value) ....
Any feedback would be appreciated ...