Issue with VS project - Report has remapped fields

VS 2005, Crystal XI R2
We recently upgraded a VS project using Crystal reports. The database has changed, with table name and field name changes.
We used the "set datasource location" to remap the table names and fields. Reports run fine as stand alone.
But when running from the VB project we have an issue when logon info is applied to the subreports.
In the standard code to apply logon information to the subreports, this line of code
Crtable.Location = crConnectionInfo.DatabaseName & ".dbo" + "." + crConnectionInfo.UserID + "." + crConnectionInfo.Password + "." + Crtable.Name
fails because Crtable.Name resolves to the old table name (ctct) which has been remapped to new table ca_contact using the set datasource location option from Crystal.
If I comment out this line of code, the reports seem to run fine, sometimes we get prompted for connection info. Once the info is set, the report runs.
But can I get this line of code to work? is there some way to get Crtable.name to point to the actual table name "ca_contact" and not the old name "ctct" that the table and fields were remapped from?

Thanks for the reply, but the subreport has been already remapped. I just went back in and double checked.
I am thinking about writing some code that will be something like
(pseudo)
if table = ctct then replace table name with ca_contact
but there should be a way around this. Even though the table is remapped, it is picking up the old table name alias instead of what it is mapped to.

Similar Messages

  • Issue with Exceptions in Reporting

    Hi BW Gurus,
                I am still new to BW, Like I have a issue with exceptions in reporting.
                Let me explain clearly, I created a report which gives me two MRP values they are for example V1 and PD(there other MRP types but I am focusing only this two). Here I can see in my report those two values and the overall result of all MRP types (they are 6 different types). My report looks like this for examply
       V1                  46,782,434(this are rough figures)
       PD                  56,232,453
       Overall Result      102,434,111
            Here my requirement is I need to find this overall result like accroding to thresold values this overall result shows RED,YELLOW,GREEN.
            I have given threshold values in exceptions. like
       0           -
    > 45,000,000(Red)
       45,000,001  -
    > 65,000,000 (Yellow)
       65,000,001  -
    > 500,000,000 (Green)
           But according to this values I should get Red( Overall Result), I cant see any change in the overall result.
           Please can some one give advice how to reflect this threshold values in my report.Or I have to select any other options in exceptions.
           Thanks in advance.
    Regds
    Sam

    Not really possible with BEx functions, but if you provide a workbook to users you can just type in this information in a non-Bex cell and save the workbook.
    Else you can try to name your exception such that it shows the value ranges. Then in the report, from the toolbar Layout > Display Exceptions.
    Hope this helps...

  • Strange issue with WEBI schedule Report

    Hi All,
    I have a strange issue with schedule WEBI reports, a schedule report runs for Hours , i reschedule it again by deleting the instance and the schedule report never got succeed even after running for hours.
    Any idea???
    regards

    Hi Manoj,
    1. Try to put some filters in the report and then run the report. if it takes less time, then probably your query is fetching very    large data.
    2. MDX query error may be the reason , this error come when a query runs endless, please try running the query 2-3 times, or when load on server is less.
    Hope this will help,
    Anamika.

  • Long list of issues with CP5 project

    I've been working on a project for the past few weeks and its nearing completion. A couple of things have happened which seem to have completely messed up the project. On the surface all looks well but when you actually use it, major usability issues emerge. I've listed the problems below. Would appreciate any advice if possible. Am using CP5 (latest update applied) on an XP pc.
    1. Throughout the project development I've been publishing to html to test it. All was working fine until I decided to trial a scorm export. When I selected Quiz Preferences to enable scorm reporting, CP locked up. I was then presented with the top strip of the Preferences menu window with the rest missing. This was a blue strip which ran right across the screen and onto my second monitor. I couldn't close it or escape it, or select anything beneath. So I had to force quit, no choice really.
    2. After the force quit I restarted CP and managed to enable scorm reporting. I tested an export (to zip), deployed on my Moodle site and all worked fine. I then noticed I needed to change a few details so went ahead and made these (all I added was a title for the scorm manifest). When I exported again, I ran into problems with my embedded flv videos, saying they were corrupt (which they weren't). I eventually got round this by exporting the zip to its own folder (had been exporting to the main folder containing the CP project file... obviously not a good thing). The exported scorm file is about 74MB.
    3. After all the above issues with the videos were sorted, I tested the scorm export and immediately ran into a whole rang of problems. Every single object that had a fade in & out affect had to have it removed as they were greyed out. My embedded videos were barely visable, looking like they'd been set to a 20% opacity in Pshop. Could still be played though, if you could find the play button. The opening slide decided to immediately fade once the scorm pack launched, despite never setting to do anything of the sort. I had to take a copy of another slide and recreate the front slide, then delete the old one. This seems to have fixed that issue. Now my final slide (which follows on from a Quiz Result slide) has decided to do an immediate fade in & out, so you can't read the text. Again I never told it to do that. All objects on the page have effects/transitions off but this hasn't had any affect at all.
    4. I have also found a very very odd pattern of behaviour with Click boxes used as links to web sites. I have 8 links on a slide (text boxes with text blue colour & click boxes overlaying). Clicking on the 1st two links works fine, opens them in a new window. Clicking on the 3rd, nothing happens. A 2nd click loads the web page. When you close it you find yourself on the next slide and have to go back. The same pattern occurs for the next 3 links. Very very odd.
    5. The other really annoying problem is with my next & back buttons. If I navigate through the package and then click back a few slides (or even go back 1 slide), I can't go forward again. I have to refresh the page. I've also found if I go back to the opening slide its greys outs completely, nothings visable. Again you have to guess when the next button is to move forward. The nav buttons are simple set to "go to next slide" and ticked infinite. This problem completely ruins the who package making it unuseable.
    I'm starting to think something has corrupted my project. If its not that then its CP being buggy. One thing I do know is its one of the most sluggish Adobe apps I've ever used. If I can't fix these issues the course won't be useable and I'll have to start from scratch with something else.

    Hi there. Welcome to the forum.  Sounds like you've had a bad day.
    Since no one else has chimed in yet, I'm going to suggest that you get rid of your Preferences file and let Captivate regenerate this, just in case it resolves some of the glitches.  This preference file can get corrupted and cause all kinds of weird behaviour.  So what I'm suggesting here might sound a bit radical but it's often proven to be successful for Cp weirdness issues.
    Here's an explanation I've copied from another post by the eminent Captiv8tr:
    You might try clobbering the preferences file. If you look in the following location, you should find the file named captivate_40.dat. Just Close Captivate, delete the file and restart Captivate.
    To locate this file, right-click your Start button and choose Explore. This should easily get you in the general area. If you look at the parent folder you should see Application Data. (you may need to configure Windows Explorer to show you this folder) Inside the Application Data folder should be an Adobe folder. And inside the Adobe folder should be the Adobe Captivate folder. And inside this folder should be the file.

  • Hierarchy issue with Web Intelligence Report

    Hi All,
    We are facing an issue with OLAP Universe where we are using hierarchy for cost center in reports.
    BEx query shows correct data in RSRT with hierarchy nodes.
    We have built a Universe on top of this BEx Query.
    We are using couple of nodes of cost enter hierarchy in WebI report but if we keep more than one node in WebI query, data comes double (probably because of duplicate rows). Instead if I keep just one of the node in WebI query, WebI report returns correct data.
    Please suggest, why such behavior with OLAP universe and how to resolve this?
    Best Regards,
    Ashish

    Thanks for your suggestions.
    I am little confused on how to check SQL generated for OLAP WebI Query.
    But other reports on same universe behave same way and I'll give a try to another universe but I don't expect it to behave in different way. I saw a setting for relational Universes like restriction on duplicate rows but the same is not present in case of OLAP Universe.
    Do you know how WebI behaves with BEx hierarchies?
    There has to be some setting to make it work...
    Best Regards,
    Ashish

  • Project Online, Issue with creating projects from EPTs (with workflows)

    Hello, I am using Project Online. I am not able to create a new project based on the "Software Development" EPT. I get following message: Sorry, something went wrong An unexpected error has occurred. TECHNICAL DETAILS Troubleshoot
    issues with Microsoft SharePoint Foundation. Correlation ID: 29b2b89c-607f-1000-80c2-80bbbb7ff088 Date and Time: 15.09.2014 03:57:25.
    Any ideas what went wrong?
    Thanks in advance,
    Martina

    The reason for this behavior was the following:<o:p></o:p>
    The currency of the PWA settings have been changed.<o:p></o:p>
    Looking into the queue of the EPT we found the following hint:<o:p></o:p>
    Project:<o:p></o:p>
    ProjectCurrencyConflict (23001). Details: id='23001' name='ProjectCurrencyConflict' uid='f1850fb3-c53c-e411-9a1e-00155d58393b'.<o:p></o:p>
    After changing back to settings "Allow projects to be published in various currencies" the workflow works fine.<o:p></o:p>
    Nevertheless this issue is not clear for us why it appears after a currency change in the workflow. Maybe a sleeping bug?<o:p></o:p>

  • Issue with printing lockbox report

    Hi,
    My lockbox report after processing file is giving the total amount and check amount correctly but when I print the same report, the figures don't match with the correct report figures for check amount and advice total.
    Please help....
    Thanks,
    Sheel
    Edited by: Sheel Ahuja on May 19, 2010 11:11 PM

    Hello,
    Please, open a message for SAP on the OSS Marketplace. There are some notes for this type of issue, but they are currently in pilot release.
    So, open a message describing the issue and providing a reproducible example in your system.
    REgards,
    REnan

  • Issue with CRS Historical report scheduler

    Hello guys,
    I have a customer with ipccx 5.02 .
    THe customer could execute manual reports but  the  scheduler reports doesnt work.
    I follow the IPCCX troubleshooting guide :
    1.Stop and start scheduler service.
    2. Connectivity is fine.
    I dont receivce any error from CRS client , i need little help im new in IPCC world?
    Any suggestions please?
    Thanks,
    Carlos

    Hi Anubhati,
    PC is logged during the time that scheduled is programming and also is not in sleep mode.
    I have download the CiscoSch log from CRS Historical report and i found i issue with license :
    INFORMATIONAL Jan 19 2011|17:00:45 Authenticate [email protected]@default user on Application Server 10.181.55.247
    104 ERROR  Jan 19 2011|17:00:45 Getting of total available license info failed
    105 ERROR  Jan 19 2011|17:00:45 Historical Reporting Licenses Available(=0); Report cannot be generated.
    I have the following license :
    UCCX enhanced
    IVR ports 150
    Enhanced seat 22
    CCX Maximum agents 300.
    I generated a report for see how many agents is logged in = 15 .
    Regards,
    Carlos

  • Issue with exporting Financial Report in Smartview 11.1.2.2

    If I export a FR in "Export in query Mode" , it concatenates the parent with the child (parent.child) and does not return anything in Smartview. Even though the report works fine in workspace.
    I narrowed down the issue and it seems if I use Stored member roll up instead of using Shared member roll up it returns the right data when I export the report in Smartview.
    So the issue is only with the FR using Shared members.
    Does anyone know if this is a known issue or can replicate this in their environment ? We are on version 11.1.2.2
    Thanks

    Nope that didn't work, but I figured out the error. I was running the command on a client machine. When I run the command on the server itself, it works fine.. well, now I have issues with my POVs, but at least it's finding my .csc file.
    Thanks for your help John.

  • Issues with BI publisher report in dashboard

    Hello all,
    I got some issues about BI publisher reports in a dashboard.
    I use a dashboard prompt in combination with a BIP report.
    1.) I don't want to see the publisher control bar in my dashboard. Now you can't view the report anymore after using the dashboard prompt. Because it says you have to press the view button which is on the publisher control bar.
    So when I add the bar. Then I have first to press on go in the dashboard prompt and after that I have to press on view in the publisher control bar.
    2.) When I open my dashboard I see a scroll bar in my BIP report. Now when I use the dashboard prompt, it disappears. So I can't view the entire report anymore
    3.) I like to develop in english, but the test must be in dutch. Now I have a english dashboard with a dutch control bar. Also logging in to BIP in english and then navigating to analytics will not help.
    4.) I can't use I-bots on BI publisher reports, or can I?
    5.) This is not really an issue, but more like a problem but I want that users can view the BIP report on the dashboard only in HTML, but I want that they only can export to excel, is this possible?
    Hoping for some answers ;)
    Thanks in advance!
    Message was edited by:
    Remc0

    Hi Venkat,
    Thanks for your quick respond.
    1.) Auto Run is enabled. And the report runs automatically as well. But then it ignores the dashboard prompt (as a regular report would do as well). But when I choose some values in the prompt and then press go. Then it says I have to press on view as well.
    2.) no that is not the case. My report is so big that it always need a scroll bar ;) also adjusting the size settings in the dashboard doesn't help. The only occurs when viewing in HTML, when previewing in excel or RTF it all just work fine.
    3.) true, but ow well this is the least importetant one ;) so if this doesn't work, than it doesn't work ;)
    4.) Ok, I will have a look on that.
    5.) I did enabled HTML and EXCEL outputs in my BIP report. But when the first point is working, then I don't want to see the control bar anymore and I want to have the output on the dashboard in HTML and then I want to build a button, or a link or something that exports the request to excel. Is that possible?

  • Captivate 4 issues with aggregate project

    Ok... Here's the situation my parent's went away on a weeks vacation..
    Sorry. Just had a 90's flashback.
    I created a custom skin for use with my project. I test out when I publish my individual files and it works fine.
    When I combine files into an aggregate project, I lose my top and right border...
    PLEASE HELP ME
    I need this for branding purposes. I created a custom border.
    Thanks

    Yikes. That's not good.
    I don't know of any specific upgrade bug but there's definitely bugs living under the hood of Captivate in general.
    Two approaches for handling these sorts of issues:
    1. Copy all slides in your CP file, create a new blank project, paste in the slides.
    or
    2. Create a new blank project and import all the slides from the previous project.
    Whether you want to do this in CP3 then upgrade, or do the upgrade from the original CP3 file then do either of those steps in the new CP4 file, up to you.
    Were it me, I'd do 1 or 2 above in the CP3 file - trying to get as 'clean a source as I can, then convert and see how it goes.
    But overall, regardless of how well it works for you, you may well have to go through and do some housecleaning.
    However, I would not expect you to see these types of errors that are likely not things you can 'clean'...?
    Something to try. Good luck!
    Erik

  • Issue with execution of report

    Hi,
    I have an issue when the report is running. It is taking long time to run.
    The scenario is that We used Plant in selection screen initially and there were no issues in execution of the report.
    As per the business process, the plant has to be replaced with another info object zobject_0plant. Zobject is a customized infoobject and 0plant is the navigational attribute of zobject.
    The report is running good without the selection of Zobject_0plant.
    When this zobject_0plant is selected in variable screen, the report is taking long time to execute.
    Please help me to resolve this issue.
    Thanks in advance.

    Hi... as per your issue
    First note:  Check the  master data  tds rates were maintained or not . and the new rates were updated in all the vendor master data or not
    In EWT a field called business place is playing major roll. Please check that all the transactions should have business place. if some transactions do not have business place than it will not consider for challan posting.
    1. Post invoice with TDS (importantly update the business place and section code)
    2. Run J1INCHLN for monthly remittance to Govt.
    3. Update J1INBANK for back challan updatation
    Note : checked the table with_item and the bseg,bkpf tables.basically the j1incert picks/parses data from the with_item table(the program fetches all the data from bkpf and checks with with_item table and does some filtering and its shown in the certificate print)
    4. Run J1INCERT to print the TDS Certificates
    Note: Finally just look into your J1INCERT entering parameters screen, the problem lies in the paramaters most probably in dates only assuming all the required configuration has been correctly done
    Also Please change the assigned form J_1IEWT_CERT to J_1IEWT_CERT_N
    I hope it will helps you...please confirm
    Regards
    vamsi

  • Facing Issue with Stock Ageing report

    In Blocked Stock Ageing report Output, I am facing following issues
    1. Stock is correct but once we include the "Reason For Movement" then the aging is getting wrong  and in some cases value is coming Negative.
    2. In some cases "Reason For Movement" is coming in ‘#’, but this is a mandatory field. Hence cannot be blank.
    Note:
    1. Overall stock is coming correct.
    2. Reason Movement chat. is in free char
    3. Report is based 0IC_C03.

    Hi Nadeem,
    Reason for Movement is loading from  what attribute?  check in RSRV for that attribute.
    RSRV-->All Elementary Tests ->Master Data ->Compare Size of P-, Q- with X- and Y- Tables respectively .
    If it has any error then  correct that error in RSRV. It  will solve your problem.
    Regards,
    Rajesh

  • Problems started with 'Corrupted Project' and has led to 'Unsupported Compression Type" for certain .mts files

    Had to revisit several projects that were working this past January, but now several are reporting as being 'corrupted'. After trying all of the usual recommended remedies, and failing, I attempted what is always my 'last resort' - Trashing Preferences. Last resort because it has always in recent versions, led to other problems. This time was no exception. Now, not only did trashing them NOT solve my corrupt project issue, but it added a couple more. Now, MB Looks plugin can't be seen, which has happened nearly every time I've trashed preferences, and certain .mts files are showing as being the dreaded 'Unsupported compression type', while many in the same folder are working just fine. This almost always seems to be a license issue of some sort. I have signed out of CC, then signed back in to no avail. My short term memory is nearly gone, but I seem to recall a similar set of occurrences a few months ago, and a uninstall/re-install was required to bring everything back to normal. This is getting quite old, as am I.

    Working with Adobe Support via chat at the moment. Their solution? - Contact Red Giant.

  • Issue with SAP BW Report Iview

    Hi,
    The issue stands with the context menu(right click menu)
    I have created a BI Query and generated a BW Report with the Web Designer Wizard.
    When I run the generated URL it is working fine, with the context menu also working perfectly.
    However when I use that report in SAP BW Report Iview, the report gets opened perfectly but the context menu is taking me to a new page with those options.
    As of now i do not know of any setting for context menu specially.
    If anyone can help me or if anyone has encountered this error before, pl. let me know the solution.

    Atul -- i am running into simillar issue. Please let me know if you found a solution for this.
    Hi all -
    When i create a BW Report iView 7.x in EP 6.0, the second level context menu doesn't appear for the template. Please let me know if this can be fixed.
    Thanks
    PR

Maybe you are looking for

  • Lag on walkman

    HI I am having a lag while trying to play mp3s on my e1 dual. i tried using different mp3 players including walkman with its latest update but i m still having some lag. Sometime its frequently sometime not. so what shuld i do. i m updated os to kitk

  • System hangs while I save or activate Message mapping

    Hi all, After performing the required message mapping whenever I save the Message Mapping the system hangs, it does respond but after a very long time say some 20+ minutes. But I don't encounter such problems while saving data types , message types ,

  • Changing column background color in a template

    I am using template 12 alternating row colors. Is there a way to change the background color for selected columns in the header in the template.

  • Export emails to a rtf with attachments

    I wish to export my emails as rtf with attachments with the titles as filenames so that I can view them as required on both PCs and Macs. without having to use email clients. How can I do this? The save as function just creates gibberish when read wi

  • J1IIN (mail not generating)

    hi frnds, Our company has configured J1IIN to generate mails to the Sales Tax Department, a Dispatch Report when the document in J1IIN is saved. I am not able to trace the configuration of sending the mail. Currently mails of 3 SBUs has been generati