index | search | no replies | posting guidelines | help login | register
Index » Products » ASP Report Wizard v2
search this forum:
:: Query Related to UseProcedures :: (3)Post a New Message | Post a Reply
Sep 13 2006, 12:46 AM
 Query Related to UseProceduresPost a Reply
 proj

View this author's profile Send this author a private message

since: Sep 1, 2006
from: India

I have used following in my code

objWiz.UseProcedures = "Pro1,@nId=" & txtId.text & ""


When i run report at the time of generating report it gives me following java script error

Expexted ";"


and ask for the parameter value though i have passed into it


pl help me to overcome this problem



thx
proj...
                                        

Sep 13 2006, 7:31 AM
 Re: Query Related to UseProceduresPost a Reply
 ghost

View this author's profile Send this author a private message Visit author's homepage

from: Washington, DC

Your "txtId.text" might be empty. Please try adding a static text value to test it as shown below:
objWiz.UseProcedures = "pro1,@nSiteId=1"

Also, if you value is a String value, make sure you add single quotes arround it as shown below:
objWiz.UseProcedures = "pro1,@nSiteId='" & txtId.text & "'"






-------------------------
Ghost
Sep 21 2006, 4:32 AM
 Re: Query Related to UseProceduresPost a Reply
 proj

View this author's profile Send this author a private message

since: Sep 1, 2006
from: India

yes, i have tried with the static value
but it gives me same error

pl give me some solution.........



thx
proj

Pages: (1)   [1]

search this forum: