How is the connection info stored in a .rpt file?

I'm writing a set of reports that are going to be distributed to many clients across the country. Each one of them will have a different connection string to use.
I don't want to have to walk each client through setting the datasource location manually.
Is there anyway I can have the .rpt file look at a config file or something to change the database/server name to the client's settings rather than remembering the settings I have here?
Our app has a connection string stored in a text file that I could translate into xml or something else.
If you need more details let me know.

Hi,
Need more info-
VS version?
CR version?
Web or win app?
Also you can provide the connection information in the web.config file and retrieve the information from their as per the requirement(In case of web application).
Also you can change the connection informatin in code, but the database structure should be same as the reports been designed.
To download sample code click [here|https://boc.sdn.sap.com/codesamples].
You can also take help from [Dev library|https://boc.sdn.sap.com/node/7770]
Hope this helps!!
Regards,
Amit

Similar Messages

  • HT4910 sold my ipad today. the concern is how to access all info stored in cloud and if possible eventualy merge data into new andriod tablet. Thanks all of you who respond.

    sold my ipad today. the concern is how to access all info stored in cloud and if possible eventualy merge data into new andriod tablet. Thanks all of you who respond.

    >
    <IfModule mod_weblogic.c>
    WebLogicCluster 127.0.0.1:7005,127.0.0.1:7007,127.0.0.1:7003,127.0.0.1:7103,127.0.0.1:7104
    MatchExpression /app1
    </IfModule>
    <Location /weblogic>
    SetHandler weblogic-handler
    WebLogicCluster 127.0.0.1:7003,127.0.0.1:7005,127.0.0.1:7007,127.0.0.1:7103,127.0.0.1:7104
    DebugConfigInfo ON
    PathTrim /weblogic
    </Location>
    <IfModule mod_weblogic.c>
    WebLogicCluster 127.0.0.1:7003,127.0.0.1:7005,127.0.0.1:7007
    MatchExpression /app2
    </IfModule>
    <Location /weblogic>
    SetHandler weblogic-handler
    WebLogicCluster 127.0.0.1:7003,127.0.0.1:7005,127.0.0.1:7007
    DebugConfigInfo ON
    PathTrim /weblogic
    </Location>
    >
    This configuration is weird little bit. There is MatchExpression /app1 and MatchExpression /app2 and at the same time two <Location /weblogic> sections. Are you sure you understand what that configuration stands for?
    Try something like this ...
    <Location /app1>
    SetHandler weblogic-handler
    WebLogicCluster 127.0.0.1:7003,127.0.0.1:7005,127.0.0.1:7007,127.0.0.1:7103,127.0.0.1:7104
    DebugConfigInfo ON
    </Location>
    <Location /app2>
    SetHandler weblogic-handler
    WebLogicCluster 127.0.0.1:7003,127.0.0.1:7005,127.0.0.1:7007
    DebugConfigInfo ON
    </Location>
    where /app1 and /app2 are contexts of your weblogic applications.
    http://download.oracle.com/docs/cd/E11035_01/wls100/plugins/apache.html
    http://httpd.apache.org/docs/2.0/mod/core.html#location

  • Where is the connection information stored for Mac Remote Desktop?

    I want to restore Mac Remote Desktop connection information from a Time Machine backup to a new Mac.  On the new Mac, I've installed Remote Desktop from the App Store and installed all the files found in
    ~/Library/Containers/com.microsoft.rdc.mac from
    a Time Machine backup.  But I don't see my old connections.  I also don't see any connection information in my Time Machine backup here
    ~/Documents/RDC Connections.
    Where is the connection information stored?

    The path is correct. You could try to get an console log during application launch. This log might give you information why the information is missing.

  • How does the icon get created for a saved file

    In my program I allow saving files using JFileChooser and ActionListener.
    In the constructor of the main class which extends JFrame I also set an icon by saying:
    this.setIconImage(new ImageIcon("image.jpg").getImage());
    This does not only set an icon on the title bar and the minimized window, it also creates an icon on my saved files. However, the image quality for the icon on my saved files is bad, even though the image quality for the other icons is ok. The size of the icon image I am providing is close to the size of the icon image on my saved files.
    How did the icon get created for my saved files? Is it possible to improve the image quality?
    Thanks for looking at this!

    I just realized that
    this.setIconImage(new ImageIcon("image.jpg").getImage())
    did not create the icon for my saved files.
    So what did create it? I did not program it!
    However, I happen to have an icon file Ananya.ico where I have my java project. I use if for my installation file. Did Java use this icon?
    Please help! Thanks!

  • How is the "Alternate" birthday stored using CardDAV

    The alternate calendar feature of iOS 8 now allows Chinese calendar (as promised at WWDC 14) and hence can associate Chinese birth dates to contacts. Can experts in the community advice how will this "alternate" birth dates are captured in the contacts database if the contacts info are synced with a CardDAV service?

    PL/SQL "table" is a misnomer exactly for this reason - thinking that it is similar in some way to an Oracle table.
    It is not. A PL/SQL "table" is a scalar variable. A dynamic array. Where are PL/SQL variables stored? The PGA.
    Storing "records" in a scalar variable is a bad idea many times in PL/SQL as a scalar variable is a very poor substitute for a real table. (the exception being dealing with smaller scalars and bulk processing).
    It is especially a bad idea if you're storing 10's of 1000's of "records". This will seriously stress the PGA and cause an impact of system RAM. It does not scale. Rather use a proper temporary structure like a global temporary table.

  • Where is the "Ratings" Info Stored?

    I moved my music from an external 400GB drive to a new 750GB external drive.
    My first issue was 30% of the links to my 66,000 songs were severed.
    I had to re-build the song library by dropping my music back in to a blank iTunes Library. I then imported my former iTunes Library.xml document. My playlists came back but all the ratings info did not come over.
    Where does iTunes store the ratings infomation?

    I have much the same issue - a system failure, iTunes library restored by importing old 'iTunes Library.xml' file as recommended on this site, but I am left with no meta-data - in particular ratings. I still have backups of all the iTunes library files - how do I restore meta-data from them?
    Thanks.

  • How maintaining the connection table for sticky/persistent/non-persistent?

    Question about how to maintain the connection table for the source(client) and destination(server) in the CSM(or CSS).
    I know the sticky has the table and max size such as 128K(css11501)as per CCO but not clear how works the persistant and non-persistant case.
    Q1) persistant. does it maintain the conntion table to tracking the session? then, any information the table size?
    Q2) non-persistant. is this also have connection table? then, how it works?
    why I'm asking is want to understand how the session keep tracking. for example, the router based on the routing table(stateless) versus PIX firewall has stateful table. As analogue, is the non-persistnet stateless and statefull for the persistent and sticky?
    Thnaks in advance,

    The CSS uses FCB to maintain information about active connections.
    Each connections requires 2 FCB - one for client to vip and one for server to client.
    When you boot the CSS it will immediately reserver a good amount of memory to create a list of FCB.
    Each connection will then take 2 FCB from the list.
    You can do a 'flow stat' from llama mode to verify how much free/used FCB you have.
    When running low on FCB, the CSS will try to allocate more memory.
    Gilles.

  • How are the VLANs Data stored in the VTP Domain

    Hello All,
    I'm confused a bit in the VTP Domains.
    Now, I have 3 Switches in the network, with the modes below:
    Switch
    Mode
    Switch A
    Server
    Switch B
    Transparent
    Switch C
    Client
    Now, I know that the Server and Transparent stores the VLANs in a VLAN.dat file in the NVRAM. What about the client? Does it keep the VLANs in the RAM and when rebooted starts getting the VLANs again from the Server?
    Best Regards,
    Islam M. Nadim.

    Hi,
    With all recent IOS versions, switches always keep the VLAN database stored in the vlan.dat, regardless of their VTP mode (server, client, or transparent). Some old sources say that clients did not maintain their own vlan.dat file and kept the VLAN database in RAM only. This may have been the case with CatOS and/or very old IOSes, but it is not true anymore.
    Best regards,
    Peter

  • How does the connection with ODBC work exactly?

    Hi all,
    I've got an application written in Java that uses a JDBC-ODBC bridge to connect to an Oracle 8.0.5. Then i got another java application(called the bridge from here on) that only routes traffic to another server. Say that I connect to my bridge using sockets and my bridge is located on machine: remotehost port: 4444 and all my bridge does is reading incoming data and routes to machine: oracleserver port: 1521. This works fine. Now i have "fooled" my main application that my oracleserver is located om machine: remotehost port: 4444. So I can connect to it by DriverManager.getConnection("jdbc:odbc:tns-spec"); And in tns-spec I've stated that my oracleserver is in fact on port 4444. This works fine, but when I exit my bridge program the connection to the database is still there! Why? Does Oracle open a new socket of it's own and contacts my main application directly or what is happening?
    Greatful for an answer is
    Magnus

    Think I've solved the problem, apperently oracle send data back, specifying on which port the data traffic should take. Say I contact Oracle machine remotehost port 1521 then I get a reply back, saying contact, remotehost port XXXX instead...Too bad...

  • How do I connect a hyperlink to a Word file in iWeb sucessfully?

    I just started using iweb and I know how to use the Inspector to connect to the file to the link, but it won't open the file when I click on the link. Please help. When I connect to one of my own pages the link works.

    NiA:
    Welcome to the Apple Discussions. How are you going about it? Here's how I linked a work file and the like open the document like it would a pdf file in Safari:
    1 - Create the text.
    2 - Select all of the text and go to the Link pane in the Inspector window.
    3 - Select the link to file option and then navigate to the Word document and select it.
    4 - Publish.
    That will open it in another window. See the link Wind in the Willows at the bottom of in this page. The link on the left has the text itself as the link and the link on the right, as indicated has the text box set up as the link. Each gives a different appearance. With the text box method you can change the color of the link to something other that the default for that theme.
    Do you Twango?

  • How does the system decide where to put a file on the desktop?

    So you've just created some sort of file, and you choose to save it to the desktop.   A second later--presto!--the file icon appears on the screen.
    How does the computer decide where on the desktop to put that icon?

    I'm not 100% on this, but I think the system will save files to the last destination you nominated unless you designate another destination at the point of saving. I guess you previously saved something to the Desktop.
    Just tested it on my two Macs and that's how it behaves here.

  • How are the WS-Security details represented in wsdl file?

    Hi,
    We have configured OWSM for the ESB setup 10.1.3.3.
    Now the policy defined at OWSM reads the User Credentials sent in the WS -Security block in the incoming message.
    The application sending the message is HRMS and they need to send these details in the SOAP header in the WS-Security block...
    How do we represent the WS-Security details in a wsdl file.
    Any help/direction in this regard would be really helpful.
    Thanks & Regards,
    Shilpa

    Hi,
    Exposing security reqmnts in WSDL is not supported in 10.1.3; however it is supported in SOA Suite 11g which was released on July 1st 2009.
    Good luck,
    Ghanny

  • Changing the field name at runtime in rpt file

    Hi everybody
    I'm using C# and Crystal Report XI (Deverlop license) to develop windows application in VS.net 2003.
    Please help me to change the field name of the bounded column of Crystal report file at the runtime.
    (In some case client's database had changed the structure as fieldname, fieldtype. Then they request a utility to change the field names in the .rpt file programmatically )
    Thanks
    GiangSon
    My email address: [email protected]

    user11200661 wrote:
    That's fine but still i want to prefix the schema name within the .sql file. My .sql should contain the name of that parameter only as i want to get that parameter replaced by the schema name at runtime. Some other users are using the same .sql file and they have access to that specific schema only. i want to make the .sql file more general so that it can be used by everyone without altering it every time.Sorry, your requirement no longer makes sense.
    If people have to access a specific schema because they need the script for general use, then you will have to hard code the schema name into it.
    If the script is to prompt for the schema name and connect to that schema and then use that schema name inside the called sql script, then people would not be able to use it generically, as it would be reliant upon the schema name being passed in.
    It sounds as if you're trying to write one generic thing that needs to do two different tasks.
    Just have two scripts and make life simple.

  • TS1424 how about "the connection error. The game server had an internal error. please try again later". thats what happen to me while i want to purchase a gem in dragonvale aplication and i being charged for the Gem that i never had.

    regarding of the game that I playing, its Dragonvale, I plan to buy a Gem. and after I desided to buy, but what happen is that the game centre it self didnt gave me the Gem but instead they said "Connection Error. The Game server had an internal error. Please try again later."
    so if thats the case of error transaction..so why the BACKFLIP STUDIOS(DragonVale) charged me to my credit card for the Gem that I never received.
    I need to clear this things.

    regarding of the game that I playing, its Dragonvale, I plan to buy a Gem. and after I desided to buy, but what happen is that the game centre it self didnt gave me the Gem but instead they said "Connection Error. The Game server had an internal error. Please try again later."
    so if thats the case of error transaction..so why the BACKFLIP STUDIOS(DragonVale) charged me to my credit card for the Gem that I never received.
    I need to clear this things.

  • Where is the password info stored?

    I have multiple computers and I also upgrade from time to time. This kludgey itunes store/itunes app/sync business is obnoxious. Now I notice I'm being queried for my password to authorize this computer. It works but... Where is this stored so I can bypass all this crap?

    This may resolve your repeated authorization problems.
    http://support.apple.com/kb/TS1389
    Also, you seem to describe an iTunes issue not an iPad issue. Therefore, you might want to post in an iTunes forum.
    Message was edited by: lllaass to add ref to iTunes forum

Maybe you are looking for

  • Lock object for KONV table/Cluster table ??

    Hi All, Is it possible to set Lock/Enqueue cluster tables or in my case table:KONV (KNUMV field) ?. OSS provided some programs without locks so was hoping if I could add before performing data manipulation. Regards, Neeth

  • Splitting files with Word import

    Hi I am using Robohelp 7 (from tech comms suite). I'm importing a word document containing a lot of sections, each beginning with a Heading 1 style heading. I was expecting the import to split each of the sections into a separate HTML file. But it do

  • Flash goes off when receiving texts

    Another thing I have noticed - sometimes when I receive a text, the camera flash goes off Anyone else have this issue? Martinfrommaldon

  • @ HR_ESS_GET_SETTINGS

    Can anyone please brief me the functionality of the above FM?

  • Ever since I upgraded to IOS 7 my volume has been lost

    Ever since I upgraded my iPad to the latest update on Monday I have lost volume only works with headphones.?