Change the schema of a report using oracle odbc at runtime

Post Author: Guy
CA Forum: .NET
Hi,
I'm using Crystl 11 r2 and coding in C#.
In our oracle database we have many schemas.  When designing the report I can see many schemas (~14) when creating the new connection, but not the one for which I provided a username and password!  I guess it woud have been the ~30th of the list.  This wouldn't really mather if I was able to change the schema on which the report will be executed at runtime.
But with both the native oracle driver or using odbc I am not able to change the schema (even if I change the DatabaseName in the connection info.  I've had a look at the CR_VS_CHANGE_DATABASE.ppt but it doesn't help me with Oracle...  Funny, I can't put anything in the connectionInfo.DatabaseName and it doesn't seem to change anything...
Anybody ever succeeded to change all the connection info at runtime when the report runs on oracle?
Thanks,
Guy

You should be able to do that by so:
Go into the object navigator. Click on Paper Layout, and click on the Main Section label (not the plus sign). Hit F4 for properties - height and width are there. I think if you just changed those to what A4 is designated as, it should work.
Note if you use a header/footer page, you would need to do the same to those pages as well.
Hope that helps as I have not actually needed to do this yet. Good luck!

Similar Messages

  • How to change the Schema (DB2, Oracle) in CommandTable at run time

    Dear all,
    I have a problem as below:
    I have created report with CommandTable, then I am using Java and CRJ 12 to export data. So how to change the SCHEMA in CommandTable? 
    Please help me on this.
    Ex: CommandTable is SELECT * from SCHEMA.TableA, SCHEMA.TableB
    Thanks,
    Nha

    Dear Ted,
    I want to change DataSource, it means the report will be load and change connection at run time (using CRJ SDK) and i want to change the SCHEMA.Tablename in CommandTable in report.
    I also use the parameter to do it, but it can not be at run time, just correct when designing.
    Could you please help me on this. You can post the code if any.
    Thanks,
    Nha

  • Changing the data source from DB2 to ORACLE in SBOP 4.0

    Hi Gurus,
    We have done SBOP 4.0 SP 2 installation successfully on Linux by choosing DB2 as default Database as suggested by SAP as there is some issue with RH LINUX 5.5 version. Now, we need to change the CMS data source back to ORACLE 11G. For that we have to execute cmsdbsetup.sh and go with the option of "copy" (Copy data from another Data Source). We need to provide the target/destination CMS database in my case ORACLE (TNS & CMS user) details. And also we need to provide the source CMS user (DB2) details. As we went with the bundled/default DB2 installation, we are not able to find the cms user name and password (no where during the installation it prompted to provide cms username and password).
    What will be the default cms username /password in DB2?
    Thanks,
    Sandeep

    Hi,
    The work around is to create/add an extra node (SIA Node) with default servers option for the existing CMS and provided my ORACLE CMS username/password along with the TNS Names using cmsdbsetup.sh. Make sure that this new node is visible in the Servers section of the CMC console (i.e. http://<webappserver>:8080/BOE/CMC-->servers) and also see that all the servers should be running. Then you can delete the old SIA which was connected to DB2 from the CMC->servers.
    Thanks,
    Sandeep

  • How to change the title of a report by programmation at the run time?

    Hi,
    I would like to change the title of my report at the run time.
    Is it possible?
    If someone can help me...
    Thanks,
    Mbo

    hello,
    what do you mean with "title" ?
    a couple of approaches :
    - Runtime Customization
    - lexicals
    - before report escape HTML
    regards,
    the oracle reports team --pw

  • Azure Website doesn't recognize my Database's Table after changing the Schema

    I have a Microsoft Azure Website running and working with an Azure SQL Database for the sole purpose of storing and retrieving user accounts. However I needed a mobile client as well there fore according to numerous tutorials online such as [THIS][1],
    I had to change the 'schema' of the database from 'dbo' to my mobile service's name which is 'usermobileservice'. 
    This was done using the SQL query:
    CREATE SCHEMA usermobileservice;    ALTER SCHEMA usermobileserviceTRANSFER dbo.usertable;
    This did the trick and I was able to connect to the Database using my mobile applications BUT now I can't access the database using my Azure Website! Gives me this error:
    Server Error in '/' Application.
    Invalid object name 'UserTable'.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
    Exception Details: System.Data.SqlClient.SqlException: Invalid object name 'UserTable'.
    I believe the ASP.NET Web Application cannot find the Database Table anymore since I changed the schema? What is the right way of sharing the data between a Website and a Mobile Service?

    Hi,
    Thank you for your post.
    I am trying to involve someone familiar with this topic to further look at this issue.
    In the meantime, please have a check on the below link and check if it helps.
    https://social.msdn.microsoft.com/Forums/azure/en-US/60764eb6-17d0-4395-a887-2a793b44ce88/connect-mobile-service-to-an-existing-database?forum=azuremobile
    Regards,
    Mekh.

  • How to change the Schema Location ??

    Hi ,
    I need to change the Schema name which is registered through the Deployment Manager . OWB allows all other Parameters to change except the Schema name . Any workaround ???

    On your mapping right click and choose the option configure (window Configuration Properties), open the tab "Sources and Targets" on this tab choose the table that you want to change the schema and on the label Schema insert the schema to be used.
    hope it helps!
    Regards,
    Vitor

  • Creating reports using oracle application server

    Hello All,
    I am a complete newbie with Oracle Application Server(OAS) and Oracle reports. My task is to generate HTML and PDF reports using OAS. The current application has a aspx pages(ASP.NET as front end) which calls a third party tool Fast Radar Report which fetches data as per the user need(like month, day, year, product name....) and displays it in a grid format. I have to remove the FastRadar part and use OAS's OracleAS Reports Services components to generate those reports
    I went through chapter 12 of Oracle.Application.Server.10g.Essentials by OReilly 2004 edition
    It briefly glances through that part. But, it seems to mention about Oracle Reports something like "Oracle Reports has a wizard-based frontend called Oracle Reports Developer that can build reports. Oracle Reports Developer is part of the Oracle Developer Suite. The reports created with Oracle Reports Developer can be deployed to the Web using OracleAS Reports Services support in Oracle Application Server."
    I am unclear what to do. Do I need to create the report format in Oracle Reports using wizard-based frontend called Oracle Reports Developer and then deploy it using OracleAS Reports Services?
    Or, is there a way to create the report format using OracleAS Reports Services without using Oracle Reports. I am told we have just OAS installed, don't know if Oracle reports is installed or not as it is done on a remote site.
    Any suggestions would be highly appreciated.
    Thanks a lot.

    Hi,
    One has to develop reports using Oracle Reports developer and then has to deploy it into the application server. To do so you need the Oracle developer suite installed, this has wizards which can be used to develop reports.
    This link might help you http://www.oracle.com/technology/products/reports/index.html.
    Mark it if it helps

  • Want to change the design of a report in query print layout

    i want to change the design of a report.

    Hi om singh,
    You can also find more information with recorded video at the following place:
    SAP Channel Partner Portal->Education->Role-Based Training->Implementation Consultants->Customization-> Print Layout Designer Part I,II,III
    http://service.sap.com/smb/sbo/documentation->choose the B1 version youu2019re using->Print Layout Designer
    Hope it helps.
    Regards,
    Jacqueline Jiang
    SAP Business One Forums Team

  • I need help changing the account number my daughter uses for payment for her apps and itunes, etc. can anyone talk me through this.

    hi ,
    im just a mom, not very computer savy.....however, I need to change the payment method my daughter uses to purchase things on her ipad due to the fact that the current one is expiring. ie: for such things like songs and games, etc.
    I would appreciate any help as how to do so.
    THanks

    On a computer's iTunes you should be able to edit the payment info by going into the Store > View Account menu option (if you are not logged into the account that your daughter is using then Store > Sign menu option to log out of the currently logged in account ; that will then change to a Store > Sign In option so that you can log into her account) and log into the account (enter the account's password and click View Account on the popup)
    And on the account's details page there should be a payment link.
    If you are doing it on your iPad then tap on your id in Settings > iTunes & App Store (if not logged into her account then log out of your account via the popup that you get and then log in with her account) and tap on 'View Apple ID' on the popup and log into the account  - that should also give you a payments link on your account's page.
    Changing payment info : http://support.apple.com/kb/HT1918

  • In the old Numbers I could change the colour of a checkbox using rules - I cannot seem to do this in new Numbers 2013?

    In the old Numbers I could change the colour of a checkbox using rules - I cannot seem to do this in new Numbers 2013?
    I have an old Numbers sheet where I could make the checkbox Cell go Green when ticking "Equal to" TRUE. When I open the old sheet it into new iWork it functions correctly. But I am unable to copy or paste the rule - nor recreate it.
    Any suggestions on how to create a Conditional checkbox cell that goes green once ticked would be most apprecicated.
    Thanks - Steve

    Numbers 3.0 is missing the logic-based "equal to TRUE" or "equal to FALSE" conditions for conditional formatting.  The replacement is text based: "text is TRUE" or "text is FALSE".  You can apply these rules to cells formatted as checkboxes.

  • When I download Microsoft word documents (if have word 2007), I have somehow changed the settings and it downloads them in wordpad, and the format is very bad and I can't read a lot of the document. How do I change the default setting back to using Micro

    When I download Microsoft word documents (if have word 2007), I have somehow changed the settings and it downloads them in wordpad, and the format is very bad and I can't read a lot of the document. How do I change the default setting back to using Microsoft Word 2007 to open these documents?
    == This happened ==
    Every time Firefox opened
    == about a few weeks ago - I had tried to open some docuuments saved on a mac, my PC (which runs Windows 7), used word pad to open these, and this seems to have changed the default settings somehow.

    See this:
    [http://support.mozilla.com/en-US/kb/Managing+file+types]

  • I cant update my iPhoto from app store is aking me to sign in to a acount that I recently change the password and I dont use it a lot. what can I do?

    I cant update my iPhoto from app store is aking me to sign in to a acount that I recently change the password and I dont use it a lot. what can I do?

    Find the password or reset it using the lost password link
    LN

  • Is it possible to change the name of a report thanks to the report painter

    Hello,
    Is it possible to change the name of a report thanks to the report painter GRR2?
    Thanks!
    SB

    Hi,
    First of all, it's possible to change a report description(title), if that what's you mean. If you want to change a code(name), then indeed you have to copy your report under a new name. To delete the report, first delete it from the report group (via GR52) and then you will be able to delete it.
    Regards,
    Eli

  • When attempting to create an SSRS Report in SharePoint 2010 Dashboard Designer and change the Server Mode from Report Center to SharePoint Integrated

    Hi,
    When attempting to create an SSRS Report in SharePoint 2010 Dashboard Designer and change the Server Mode from Report Center to SharePoint Integrated, I get the following unhandled exception:
    ************** Exception Text **************
    System.InvalidOperationException: There was an error generating the XML document. ---> System.InvalidOperationException: Instance validation error: '2' is not a valid value for Microsoft.PerformancePoint.Scorecards.SqlReportViewData.SqlReportViewDataServerMode.
       at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterSqlReportViewData.Write1_SqlReportViewDataServerMode(SqlReportViewDataServerMode v)
       at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterSqlReportViewData.Write3_SqlReportViewData(String n, String ns, SqlReportViewData o, Boolean isNullable, Boolean needType)
       at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterSqlReportViewData.Write4_SqlReportViewData(Object o)
       --- End of inner exception stack trace ---

    Hi,
    According to your post, an error occurred when you integrate SQL Server Reporting Services with SharePoint.
    1. Please check the steps as the link below:
    http://technet.microsoft.com/en-us/library/ff724283(v=office.14).aspx
    2. Try to clean the configuration cache on all of your SharePoint servers and re-tested.
    http://blogs.msdn.com/b/josrod/archive/2007/12/12/clear-the-sharepoint-configuration-cache-for-timer-job-and-psconfig-errors.aspx
    Best Regards
    Dennis Guo
    TechNet Community Support

  • How to change the schema to another user ?

    Hi,
    I've registerd this schema and it works well,
    but I need to change the schema to connect to another User like MYUSER_2.
    because I have to migrate the MYUSER_1 to MYUSER_2 and then to delete MYUSER_1
    when I register the schema again with this user MYUSER_2
    , all xml-entries will become destroyed ?
    what can I do ?
    it's better , to register the schema without a user ?
    Norbert
    dbms_xmlschema.registerSchema(
    schemaurl => vschemaurl,
    schemadoc => xsd_file,
    local => FALSE,
    gentypes => TRUE,
    genbean => FALSE,
    gentables => TRUE,
    force => FALSE,
    owner => MYUSER_1
    ,CSID => nls_charset_id('AL32UTF8');
    );

    If 2 seperate users need to work witht the same XML Schema then the XML Schema should be registered as a global Schema. If you want to change the owner of an XMLschema, just like if you want to change the owner of a relational; table you will have to export the data and import it again.

Maybe you are looking for

  • Harddrive Problems

    Im working with film and needed an upgrade on my system - from Mac OS 10.3.8 to Mac OS 10.3.9 - because it was required for an upgrade to Quick Time Pro wich I at that moment needed. So, when this was done I went the following day to a filmset where

  • On signing in, get error message 400.  How do I fix this?

    Problem signing in to Photoshop Elements 9.  Get error message 400.  Also can't create new user ID. Help!

  • Trying to install FCE HD 3.5 and it fails on LiveType

    I am installing the entire package, however, when I get to Live Type Media 1 it fails on 1A after it has gone 69% of the way. I have tried to re-intall/upgrade about six times now.... Please help!

  • IPhoto Library w/ both alias and real files

    I just discovered my iPhoto Library contains both jpg files and aliases. Looks like I changed ships midstream (moved from Referenced to Managed). It is a small library, less than 1000 pix. Should I start over? or is there an easy fix? I am a former P

  • Need Help with 5 Port Switch, Airport Express, and wired iMac

    I recently purchased an airport express to accomodate my laptop's wireless capabilities. However, the airport express has only one ethernet port, as does my parents' modem. Thus, I could either hook up the airport or my parent's iMac. I chose the air