You need to sign in to do that
Don't have an account?

Not to able to run the report --- urgent
Hi Experts,
Not able to run the report as well to export the report. my problem is that i have seaarch box when ever i entr the values of any of the work type for eg: General work type =' something' in that searchbox it will show the paritcular report so, search funcationaliyt working fine, but when i run the report or when i click on the export details button its show error , because general work type values will not be there in the other work type.
Im posting my report and sample visual force page.could anyone help me please.
page:
<apex:page id="page" doctype="html-5.0">
<script >
function Redirect() {
var workType = document.getElementById('page:workTypeSearch:workType').value;
window.top.location = "/00O20000002CdmH?pv0=" + workType+pv1+worktype;
}
window.onload = setFocus
function setFocus() {
}
</script>
<div style="height: 0px; clear: both;"></div>
<apex:form id="workTypeSearch" style="display: block;">
<apex:outputText >Work Type: </apex:outputText><br/>
<apex:inputText id="workType" style="width:160px"/><br/>
<input value="Submit Query" type="submit" onclick="Redirect();"></input>
</apex:form>
</apex:page>


Not able to run the report as well to export the report. my problem is that i have seaarch box when ever i entr the values of any of the work type for eg: General work type =' something' in that searchbox it will show the paritcular report so, search funcationaliyt working fine, but when i run the report or when i click on the export details button its show error , because general work type values will not be there in the other work type.
Im posting my report and sample visual force page.could anyone help me please.
page:
<apex:page id="page" doctype="html-5.0">
<script >
function Redirect() {
var workType = document.getElementById('page:workTypeSearch:workType').value;
window.top.location = "/00O20000002CdmH?pv0=" + workType+pv1+worktype;
}
window.onload = setFocus
function setFocus() {
}
</script>
<div style="height: 0px; clear: both;"></div>
<apex:form id="workTypeSearch" style="display: block;">
<apex:outputText >Work Type: </apex:outputText><br/>
<apex:inputText id="workType" style="width:160px"/><br/>
<input value="Submit Query" type="submit" onclick="Redirect();"></input>
</apex:form>
</apex:page>
Once you get the report working and the error resolved, you can back that work into your VF page.