on 06-21-2007 3:30 PM
hi,
I want to execute this query
select * from '[Param.1]'. param.1 value will be pass from html page. result set of this query must be shown in iGrid. I executed this one by using iGrid. but it shows error at <appletname>.executeCommand is not property of this applet. how can i pass the vales to this query and how can i display it in iGrid?please help me..
- senthil
the executeCommand method should only be used for iCommand queries.
In your iGrid applet add a parameter like:
<param name="Param.1" value="">
where value is passed from the html page.
Or assign it via javascript:
document.myApplet.getQueryObject().setParam(1, value)
document.myApplet.updateGrid(true)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
i tried this. but in java console it display as I
ERROR - Unable To Obtain Column getKeys
ERROR - A SQL Error has occurred on query, [<system name>]Line 1: Incorrect syntax near '<table name>'..
in query template i give query as fixed query as select * from '[Param.1]'.
in javascript i set it as
document.myapplet.getQueryObject().setParam(1,value)
document.myapplet.updateGrid(true)
document.myapplet.refresh()
What to do?
- senthil
User | Count |
---|---|
11 | |
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.