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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Query infostore to loop to thru folders

Status
Not open for further replies.

alpha621

Programmer
Apr 29, 2010
1
US
Hi all,

I am querying infostore to loop through a main folder in which i have sub folders inside it i have the reports

SO in my jsp i want to have sub folder names as one drop down on selecting the sub folder name i want to create another drop down with list of reports for that folder

please help me with queries
 
Try this:

Select SI_ID, SI_Name
from CI_INFOOBJECTS
where SI_PARENTID = <subfolder ID>
and SI_KIND <> 'Folder'

-Dell

A computer only does what you actually told it to do - not what you thought you told it to do.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top