Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

javascript to select all items in limit box

Status
Not open for further replies.
Jul 28, 2009
2
0
0
US
Hello,

I am actually working on some javascript in hyperion and thought someone here might be able to help.

The script below deselects all the items(Saturday dates) in my limit box.

Documents["O1.bqy"].Sections["Query"].Limits["Saturday Date"].SelectedValues.RemoveAll()

I am trying to write a script that selects all the items in my limit box without me having to manualy select the limit items before the query is run.

i tried this but didn't work:
Documents["O1.bqy"].Sections["Query"].Limits["Saturday Date"].SelectedValues.AddAll()

Any suggestions or ideas will be greatly appreciated. I am pretty new to hyperion and Javascript.

Thanks

Ti
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top