When creating Crystal Reports. The Data Folder does not get set when I select a different company. Is this a Timberline Bug?

SUGGESTED

I have a report that I created using a DSN that was set to company ABC. When I run the report depending on the company I have selected it gets me the corresponding data. I have another report that was created the exact same way, only this one will not respect the company change and will only reference the DSN setup I used to create the report.

Are there certain steps you have to follow to get this to work? 

Problem is we have reports that are created 1 for each company, and we have others were the switch is respected, and therefor only need 1 report.

Help on this would be much appreciated.

Parents
  • 0
    Hi Jakes,

    In the reports that do not switch folders as expected, are you using the "tsDataFolder" and the "SDesc" formulas?

    Thanks,
  • 0 in reply to [email protected]
    Hi John

    I have a 2 Formula Fields setup, tsDataFolder, and tsCompanyName. When I go and change the company and execute the report, the company name and folder show as selected, however the data is not that of the company. I do not have SDesc. What is this used for?

    Thanks,
  • 0 in reply to Jakes
    Hi Jakes,

    Sorry, the formula is tsDesignMode and it should be set to "SDesc" in the formula (with the quotes). This forces the system to recognize "standard descriptions" as the design mode (as opposed to "custom descriptions" or "dictionary names"). It is one of those that should be on every report along with tsDataFolder.

    So, just to clarify, the data in the report is showing the correct folder and company name on the report but is not populating with the correct folder's data? Is it showing data from the folder where the ODBC DSN is configured?

    You are running these through Sage and not in Crystal Reports, correct?
Reply
  • 0 in reply to Jakes
    Hi Jakes,

    Sorry, the formula is tsDesignMode and it should be set to "SDesc" in the formula (with the quotes). This forces the system to recognize "standard descriptions" as the design mode (as opposed to "custom descriptions" or "dictionary names"). It is one of those that should be on every report along with tsDataFolder.

    So, just to clarify, the data in the report is showing the correct folder and company name on the report but is not populating with the correct folder's data? Is it showing data from the folder where the ODBC DSN is configured?

    You are running these through Sage and not in Crystal Reports, correct?
Children