Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7792459
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T22:11:27+00:00 2026-06-01T22:11:27+00:00

I have a pretty basic understanding of actionscript and how to write a little

  • 0

I have a pretty basic understanding of actionscript and how to write a little bit of code with it, but I’m struggling on how to attack this problem.

We have a application that runs a bunch of BIRT reports. They are currently stored in a reports/ folder. Lately we’ve been getting more and more and we need to refactor these into subfolders for the various departments.

Reports/
    Campus 1/
        Budget Office/
             report1.rptdesign
             report2.rptdesign
        Human Resources/
    Campus 2
    Campus 3

How can I get a path name to a specific report if I know the report name and that it is somewhere within the reports/* directory?

For example if the user selected report2.rptdesign, how can I get back the path “reports/campus1/budget office/”?

A url of an example or sample code to at least get me going in the right direction would be a huge help, thanks!

I did find this Flex, AIR: Search for .pdf files in specified folder, not sure if that what I need though.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T22:11:29+00:00Added an answer on June 1, 2026 at 10:11 pm

    Rather then having recursive search in java, try increasing a filed in DB. This approach will be better.You will be calling the service from flex to get the reports from server which will return you a Collection some what like this sample.

        <reports>
        <report>
            <fileName> report1.rptdesign</fileName>
            <filePath>Campus 1/Budget Office/report1.rptdesign</filePath>
        </report>
        <report>
            <fileName> report1.rptdesign</fileName>
            <filePath>Campus 1/Human Resources/report1.rptdesign</filePath>
        </report>
        <report>
            <fileName> report1.rptdesign</fileName>
            <filePath>Campus 2/Budget Office/report1.rptdesign</filePath>
        </report>
        <report>
            <fileName> report1.rptdesign</fileName>
            <filePath>Campus 2/Human Resources/report1.rptdesign</filePath>
        </report>
    </reports>
    

    this will save one call to sever on user interaction.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a pretty basic problem but I can't seem to figure it out...
So this seems pretty basic but I can't get it to work. I have
I realize this question is pretty basic, but I'm really stuck. I have a
I have some pretty basic jQuery code: ... $(this).find('img').load(function(){ loadedImages++; if(loadedImages == $this.find('img').length){ ...
This is a pretty basic question but I'm still unsure: If I have a
I have a pretty basic windows form app in .Net. All the code is
Pretty basic programming question, I know PHP have a function for it, but does
I know this is pretty basic but I've kind of been guessing up to
I have a pretty basic assignment, but am having an issue making my main
I'm looking for a better understanding of this problem. A workaround is pretty simple,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.