Is it advisable to change mappings at runtime?

We are trying to debug an issue with batch reading (more on that later)
We can not yet reproduce the problem in test. So we would like to adjust mappings to turn on batch reading at runtime. Then turn them off again of the problem persists.
So, is it advisable to change the mappings at runtime?
Thanks
Bob

It is generally not advisable in a running system. However for testing it is fine, as long as you ensure it is just a test environment and no concurrent threads are using the same mappings. Note that the mappings will already be initialized; so changing some properties may require reinitializing others.
James : http://www.eclipselink.org

Similar Messages

  • Changing Images at Runtime...it's sending me nuts (I'm a newbie, go easy)

    Hi all,
    I am trying change images at runtime and quite frankly it's driving me nuts. I'm pretty new to Java and don't understand some of the principles but I'm trying. I have this code below, that loads up a few images. I want to be able to change some/all of these images either on a timed even or on a button press, but all the things I've tried don't work. Can someone offer me some help....thanks in advance
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class bc extends JFrame implements ActionListener {
         public static void main(String[] args) {new bc();}
         bc() {
              //setUndecorated(true); // - this removed the titlebar!
                    setTitle("BC...");
              setSize(350,125);
              setResizable(false);
              setLocation(50,50);
              setDefaultCloseOperation(EXIT_ON_CLOSE);
              setBackground(new Color(0,0,0));
              getContentPane().setBackground(new Color(255,255,255));
              JPanel hours = new JPanel();
              hours.setLayout(new GridLayout(4,2));
              hours.add(hour14);
              hours.add(hour24);
              hours.add(hour13);
              hours.add(hour23);
              hours.add(hour12);
              hours.add(hour22);
              hours.add(hour11);
              hours.add(hour21);
              JPanel mins = new JPanel();
              mins.setLayout(new GridLayout(4,2));
              mins.add(min14);
              mins.add(min24);
              mins.add(min13);
              mins.add(min23);
              mins.add(min12);
              mins.add(min22);
              mins.add(min11);
              mins.add(min21);
              JPanel secs = new JPanel();
              secs.setLayout(new GridLayout(4,2));
              secs.add(sec14);
              secs.add(sec24);
              secs.add(sec13);
              secs.add(sec23);
              secs.add(sec12);
              secs.add(sec22);
              secs.add(sec11);
              secs.add(sec21);
              JPanel helptext = new JPanel();
              helptext.setLayout(new GridLayout(4,2));
              helptext.add(new JLabel("8"));
              helptext.add(new JLabel("4"));
              helptext.add(new JLabel("2"));
              helptext.add(new JLabel("1"));
    //add action listenters
              changeImg.addActionListener(this);
              JPanel cp = new JPanel();
              cp.setLayout(new GridLayout(1,6));
              cp.setBackground(new Color(255,255,255));
              cp.add(hours);
              cp.add(mins);
              cp.add(secs);
              cp.add(helptext);
              cp.add(changeImg);
              setContentPane(cp);
              setVisible(true);
         public void actionPerformed(ActionEvent ae) {
              hour11.PaintOff(1);
              //JOptionPane.showMessageDialog(this, "changed");
              repaint();
    JPanel hour11 = new PaintOff(0);
    JPanel hour12 = new PaintOff(0);
    JPanel hour13 = new PaintBlank();
    JPanel hour14 = new PaintBlank();
    JPanel hour21 = new PaintOff(0);
    JPanel hour22 = new PaintOff(0);
    JPanel hour23 = new PaintBlank();
    JPanel hour24 = new PaintBlank();
    JPanel min11 = new PaintOff(0);
    JPanel min12 = new PaintOff(0);
    JPanel min13 = new PaintOff(0);
    JPanel min14 = new PaintOff(0);
    JPanel min21 = new PaintOff(0);
    JPanel min22 = new PaintOff(0);
    JPanel min23 = new PaintOff(0);
    JPanel min24 = new PaintOff(0);
    JPanel sec11 = new PaintOff(0);
    JPanel sec12 = new PaintOff(0);
    JPanel sec13 = new PaintOff(0);
    JPanel sec14 = new PaintOff(0);
    JPanel sec21 = new PaintOff(0);
    JPanel sec22 = new PaintOff(0);
    JPanel sec23 = new PaintOff(0);
    JPanel sec24 = new PaintOff(0);
    JButton changeImg = new JButton("change");
    }///---------This is my PaintOff class ---------------\\\
    import javax.swing.*;
    import java.awt.*;
    import java.awt.Image.*;
    public class PaintOff extends JPanel {
    Toolkit tk = Toolkit.getDefaultToolkit();
    public Image imgOff = tk.getImage("off.jpg");
    public Image imgOn = tk.getImage("on.jpg");
    public Image paintMe = tk.getImage("off.jpg");
         PaintOff(int a) {
              if(a == 1) {
                   vOn();
              } else {
                   vOff();
         public void vOn() {
            paintMe = imgOn;
         //JOptionPane.showMessageDialog(new bc(), "shown");
         public void vOff() {
            paintMe = imgOff;
         public void paintComponent(Graphics g) {
              g.drawImage(paintMe,0,0,this);
    }PaintBlank class is not included here, it's basically just the same as PaintOff but only has one image inside.
    When I try and compile this code, I get
    C:\jdk1.4\bin\bclock>javac bc.java
    bc.java:79: cannot resolve symbol
    symbol : method PaintOff (int)
    location: class javax.swing.JPanel
    hour11.PaintOff(1);
    ^
    1 error
    I don't understand this either, I've tried replacing "PaintOff(1)" with "vOn()" but I get the same error. This is baffling to be, as I thought that the hour11 would have access to all the methods inside the PaintOff class?
    Anyway, thanks for any help you guys give me!
    Cheers
    //Chris.

    Hi!
    Your problem is that you've used a widening conversion to convert from PaintOff to a JPanel. JPanel has no such method, and so the compiler is complaining that it can't find it.
    e.g
    public class NoCompile{
         public static void main(String args[]){
              One one = new Two();
              one.methTwo();
    public class Two extends One{
         public Two(){}
         public void methTwo(){
            System.out.println("Executed 2");
    public class One{
         public One(){}
         public void meth1(){}
    } will give you the same sort of error message. To make the compiler happy, use a cast.
    Now this will compile and gives the right result.
    public class NoCompile{
         public static void main(String args[]){
              One one = new Two();
              ((Two)one).methTwo();
    }So in your case, you want to do
    ((PaintOff)hour11).vOn();
    Does that help?
    :) jen

  • Changing picture at runtime using delphi

    Post Author: iman_400
    CA Forum: Other
    Please help me, is there anyway we can change picture at runtime using delphi 7.0 and CRXIR2?

    Hi, Lee;
    For the version of Crystal Reports that comes with .NET, you can use something like one of our samples shows:
    https://smpdl.sap-ag.de/~sapidp/012002523100006252822008E/net_win_smpl.exe
    Look for the sample, vbnet_win_DynamicImage.zip. It uses an ADO.NET dataset to change the image.
    For Crystal Reports XI R2 and Crystal Reports 2008, you can more directly change the image location using built in functionality.
    In the Designer, choose Insert > Picture. Choose a default image to show and save it. Right-click on it and select Format Graphic. Go to the Picture tab and click the formula button for Graphic location. Save the report.
    Then, at runtime you can populate the Formula with the new location for your image, either a URL or disk file location.
    See the following note for more information:
    [Image|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313338333333373334%7D.do]
    Best Regards,
    Jonathan

  • Change to the runtime the logon language with ABAP

    Hello,
    I have a  question.
    Is it possible to change to the runtime the logon language?
    With the URL-parameter example it worked.
    http://www.****bsp/sap/z_page/default.htm?sap-language=en
    But I need this in the event handler with ABAP coding.
    thanks Eren

    you can either use
    CL_HTTP_UTILITY->IF_HTTP_UTILITY~SET_REQUEST_URI
    uri = sap-language=FR
    or
    CL_HTTP_REQUEST->IF_HTTP_ENTITY~SET_FORM_FIELD
    name = sap-client
    value = FR
    or
    use
    SET LOCALE LANGUAGE 'S'. within your abap coding
    Regards
    Raja

  • Is it advisable to change the hub name and or pass...

    My BT Broadband was activated yesterday - HH 4
    Is it advisable to change the hub name and or passwords issued by BT or is it OK to stay with the BT default name and passwords.
    Solved!
    Go to Solution.

    If you found this post helpful, please click on the star on the left
    If not, I'll try again

  • [svn] 3839: Update the channel url to reflect the change in the runtime channel

    Revision: 3839
    Author: [email protected]
    Date: 2008-10-23 07:42:37 -0700 (Thu, 23 Oct 2008)
    Log Message:
    Update the channel url to reflect the change in the runtime channel
    Modified Paths:
    blazeds/branches/3.0.x/qa/apps/qa-manual/ajax/messaging/TextMessageRuntimeDest.html

    Many ways to do this. The easiest is to have a method in one of your classes that reads the data from the database and creates all the proper structure under a RootNode and then returns that RootNode.
    Whenever you want to refresh the tree, just call that method to recreate the root node (and all the underlying structure/nodes) and then re-set the root node of your tree model using the setRoot() method. That will cause it to refresh the display given the new root node.
    Once you have that working, you can get fancier and make it more efficient (only updating/firing events for the nodes that actually changed, etc).

  • To change table data runtime when dropdown item is changed

    Hi,
    I have two ui elements(Dropdown by index and table) in single view .
    I need to display table as per drondown index item selection. Means i have to change table data runtime when dropdown item is changed.Please help me in that .Please provide code for same.
    Regards,
    gurprit Bhatia

    Hello gurprit Bhatia,
    On the view create a new action. Fill only the Name and Text and leave the other items default.
    In this event you can populate the table fields.
    Bound this newly created action (event) to the onSelect property of the 'DropDownByIndex'.
    Regards,
    Patrick Willems

  • When I purchased my ipad I logged on with my hotmail address apparently it got hacked so was advised to change this I did but on the i pad the old e mail address remains as my icloud account name how do I change this ?

    When I purchased my I pad at the store they advised me to log on with my hot mail address we did this and apparently found out that my Itunes account had been hacked. I was then told that apple would cancel my hotmail account and that I had to use a new  email address which I did logged on everything has changed apart from the Icloud account which is still keeping the old e mail address as my id. Please can someone explain how to change this. When I look on my i pad there is a red bar that says delete account I was wondering if I deleted this would everything be ok if I started over again?
    Thank you in advance for any help.

    Welcome to the Apple Community.
    In order to change your Apple ID or password for your iCloud account on your iOS device, you need to delete the account from your iOS device first, then add it back using your updated details. (Settings > iCloud, scroll down and hit "Delete Account")
    Providing you are simply updating your existing details and not changing to another account, when you delete your account, all the data that is synced with iCloud will also be deleted from the device (but not from iCloud), but will be synced back to your device when you login again.
    In order to change your Apple ID or password for your iCloud account on your computer, you need to sign out of the account from your computer first, then sign back in using your updated details. (System Preferences > iCloud, click the sign out button)
    In order to change your Apple ID or password for your iTunes account on your iOS device, you need to sign out from your iOS device first, then sign back in using your updated details. (Settings > iTunes & App store, scroll down and tap your ID)
    If you are using iMessages or FaceTime, you will also need to log out and into your ID there too.

  • How can I add an image to a project and change it at runtime?

    I'm using JBuilder6 and I thought I saw a control to add images but I can't find it. I also wanted to be able to change the control at runtime. Also how should I specify the path so it knows how to use it? I hate to hard code one in. Since this is probably gonna be ported to other OS does Java have a way around this? I was going to put the images into my project's directory. For me to be able to just include the file w/the extension do I need to put it in the src folder or will the main directory be accessible?

    To add an image, or other source file with JBuilder, you have a button call "Add to project", his icon is a folder with a green cross.
    To call the Image os independant, I sugest you to put your images in a folder "image" in your project folder. Then to call them, you could use this :
    image=new ImageIcon(AClass.class.getResource("image"+java.io.File.separator+imageName));Where AClass is a class of your project, in general, the class where you call getRessource;
    "image" is the name of the under folder where are the image in your project folder;
    imageName is a string with the name of the file witch contains the image, for exemple : "my image.gif"I hope I help you.
    JHelp.

  • Changing position at runtime

    I have an object in my java application, and I would like it to move to x,y, and z coordinates that are constantly changed. The problem is that createSceneGraph seems to be called only once, it isn't a constantly updating thing. Here is the code I have so far, does anyone have any ideas on how I could implement this?
    The HeliListener interface calls onUpdate(Heli) whenever the position is changed.
    import java.awt.GraphicsConfiguration;
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.net.MalformedURLException;
    import java.net.URL;
    import javax.media.j3d.AmbientLight;
    import javax.media.j3d.Background;
    import javax.media.j3d.BoundingSphere;
    import javax.media.j3d.BranchGroup;
    import javax.media.j3d.Canvas3D;
    import javax.media.j3d.DirectionalLight;
    import javax.media.j3d.Transform3D;
    import javax.media.j3d.TransformGroup;
    import javax.vecmath.Color3f;
    import javax.vecmath.Point3d;
    import javax.vecmath.Vector3f;
    import org.Heli;
    import org.HeliListener;
    import com.sun.j3d.loaders.IncorrectFormatException;
    import com.sun.j3d.loaders.ParsingErrorException;
    import com.sun.j3d.loaders.Scene;
    import com.sun.j3d.loaders.objectfile.ObjectFile;
    import com.sun.j3d.utils.behaviors.mouse.MouseRotate;
    import com.sun.j3d.utils.behaviors.mouse.MouseTranslate;
    import com.sun.j3d.utils.behaviors.mouse.MouseZoom;
    import com.sun.j3d.utils.geometry.ColorCube;
    import com.sun.j3d.utils.geometry.Sphere;
    import com.sun.j3d.utils.universe.PlatformGeometry;
    import com.sun.j3d.utils.universe.SimpleUniverse;
    import com.sun.j3d.utils.universe.ViewingPlatform;
    public class ObjLoad implements HeliListener {
        private double creaseAngle = 60.0;
        private URL filename = null;
        private SimpleUniverse u;
        private BoundingSphere bounds = new BoundingSphere(new Point3d(0.0,0.0,0.0), 600.0);
        TransformGroup objTrans;
        BranchGroup objRoot;
        protected Canvas3D c;
        //x, y, and z coordinates of Helicopter
        private float   x=0,
                            y=0,
                            z=1;
        private static boolean isFreeLook = true;
        public BranchGroup createSceneGraph()
              // Create the root of the branch graph
              objRoot = new BranchGroup();
            // Create a Transformgroup to scale all objects so they
            // appear in the scene.
            TransformGroup objScale = new TransformGroup();
            Transform3D t3d = new Transform3D();
            t3d.setScale(0.7);
            objScale.setTransform(t3d);
            objRoot.addChild(objScale);
              // Create the transform group node and initialize it to the
              // identity.  Enable the TRANSFORM_WRITE capability so that
              // our behavior code can modify it at runtime.  Add it to the
              // root of the subgraph.
              objTrans = new TransformGroup();
              objTrans.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
              objTrans.setCapability(TransformGroup.ALLOW_TRANSFORM_READ);
              objScale.addChild(objTrans);
              int flags = ObjectFile.RESIZE;
              flags |= ObjectFile.TRIANGULATE;
              //flags |= ObjectFile.STRIPIFY;
              ObjectFile f = new ObjectFile(flags, (float)(creaseAngle * Math.PI / 180.0));
              Scene s = null;
              //Try to load the model
              try {
                s = f.load(filename);
              catch (FileNotFoundException e) {
                System.err.println(e);
                System.exit(1);
              catch (ParsingErrorException e) {
                System.err.println(e);
                System.exit(1);
              catch (IncorrectFormatException e) {
                System.err.println(e);
                System.exit(1);
              //Add the model
              objTrans.addChild(s.getSceneGroup());
              //Get the black and green grid and add it.
              MapGrid grid = new MapGrid();
              objRoot.addChild(grid.getGrid());
            //Create the background sphere that contains everything. default color is black
            Background bg = new Background();
            bg.setApplicationBounds(bounds);
            BranchGroup backGeoBranch = new BranchGroup();
            Sphere sphereObj = new Sphere(1.0f, Sphere.GENERATE_NORMALS |
                             Sphere.GENERATE_NORMALS_INWARD |
                          Sphere.GENERATE_TEXTURE_COORDS, 45);
            backGeoBranch.addChild(sphereObj);
            bg.setGeometry(backGeoBranch);
            objTrans.addChild(bg);
            //Sets a transform3D so we can modify the placement of the helicopter
              Transform3D yAxis = new Transform3D();
              objTrans.getTransform(yAxis);
              Vector3f v3f = new Vector3f(x,z,y);
              yAxis.set(v3f);
              objTrans.setTransform(yAxis);
              objRoot.compile();
              return objRoot;
        public ObjLoad(Heli heli)
             heli.addListener(this);
             //Try to get the full filename
              if (filename == null)
                  try
                      String path = new File("").getAbsolutePath();
                      filename = new URL("file://" + path + "/models/Helicopter.obj");
                  catch (MalformedURLException e)
                       System.err.println(e);
                       System.exit(1);
             GraphicsConfiguration config = SimpleUniverse.getPreferredConfiguration();
             c = new Canvas3D(config);
              // Create a simple scene and attach it to the virtual universe
              BranchGroup scene = createSceneGraph();
              u = new SimpleUniverse(c);
            // This will move the ViewPlatform back a bit so the
            // objects in the scene can be viewed.
              ViewingPlatform viewingPlatform = u.getViewingPlatform();
              viewingPlatform.setNominalViewingTransform();
            TransformGroup viewTrans = viewingPlatform.getViewPlatformTransform();
               * The following code sets up the scene lighting
                        //Setup the scene geometry for the lights
                        PlatformGeometry pg = new PlatformGeometry();
                        // Set up the ambient light
                        Color3f ambientColor = new Color3f(0.1f, 0.1f, 0.1f);
                        AmbientLight ambientLightNode = new AmbientLight(ambientColor);
                        ambientLightNode.setInfluencingBounds(bounds);
                        pg.addChild(ambientLightNode);
                        ambientLightNode.setInfluencingBounds(bounds);
                        // Set up the direction and color of directional lights
                        Color3f light1Color = new Color3f(1.0f, 1.0f, 0.9f);
                        Vector3f light1Direction  = new Vector3f(1.0f, 1.0f, 1.0f);
                        Color3f light2Color = new Color3f(1.0f, 1.0f, 1.0f);
                        Vector3f light2Direction  = new Vector3f(-1.0f, -1.0f, -1.0f);
                        //Make the first light
                        DirectionalLight light1
                            = new DirectionalLight(light1Color, light1Direction);
                        light1.setInfluencingBounds(bounds);
                        pg.addChild(light1);
                        //Make the second light
                        DirectionalLight light2
                            = new DirectionalLight(light2Color, light2Direction);
                        light2.setInfluencingBounds(bounds);
                        pg.addChild(light2);
              //Add the Platform geometry (containing the lights) to the viewing platform
              viewingPlatform.setPlatformGeometry( pg );
              // This will move the ViewPlatform back a bit so the
              // objects in the scene can be viewed.
              viewingPlatform.setNominalViewingTransform();
              //Create a branchgroup for the mouse movement
              BranchGroup mouseGroup = new BranchGroup();
              if(isFreeLook){
                   //Create the rotate behavior node
                 MouseRotate behavior1 = new MouseRotate(viewTrans);
                 behavior1.setSchedulingBounds(bounds);
                 System.out.println(behavior1.getXFactor() + "  "+behavior1.getYFactor());
                 //Mouse becomes hard to control with default factor, so we scale it down a little, default is .03
                 behavior1.setFactor(.001,.001);
                 mouseGroup.addChild(behavior1);
                 // Create the zoom behavior node
                 MouseZoom behavior2 = new MouseZoom(viewTrans);
                 behavior2.setSchedulingBounds(bounds);
                 mouseGroup.addChild(behavior2);
                 // Create the translate behavior node
                 MouseTranslate behavior3 = new MouseTranslate(viewTrans);
                 behavior3.setSchedulingBounds(bounds);
                 mouseGroup.addChild(behavior3);
              else //(is Centered view)
            mouseGroup.compile();
            scene.compile();
            u.addBranchGraph(scene);
            u.addBranchGraph(mouseGroup);
         public Canvas3D getCanvas() {
              return c;
         public void onUpdate(Heli heli)
            x = heli.getState().x;
            y = heli.getState().y;
            z = heli.getState().z;
            update(9,9,3);
            System.out.println("Entered...");
         public void update(float x, float y, float z){
              objRoot.removeChild(objTrans);
              objTrans = null;
              Transform3D yAxis = new Transform3D();
              objTrans.getTransform(yAxis);
              Vector3f v3f = new Vector3f(x, z, y);
              yAxis.set(v3f);
              objTrans.setTransform(yAxis);
              objRoot.addChild(objTrans);
    }Thanks for any help!

    and I would like it to move to x,y, and z coordinates that are constantly changedYou need to implement a Behavior and attach it to a Node that is a parent to the objects you want to animate. The Behavior framework is really easy to implement and for your implementation you might like to try a WakeupCriterion Object, ie WakeupOnElapsedFrames(0), and keep track of the position in a Transform.
    The Behavior leaf node provides a framework for adding user-defined actions into the scene graph. Behavior is an abstract class that defines two methods that must be overridden by a subclass: An initialization method, called once when the behavior becomes "live," and a processStimulus method called whenever appropriate by the Java 3D behavior scheduler. The Behavior node also contains an enable flag, a scheduling region, a scheduling interval, and a wakeup condition.
    See the javadoc for javax.media.j3d.Behavior. You might like to look at Alpha as well.
    Hope that helps you out.
    regards

  • How to change line width runtime?

    Hi,
    I want to change line width dynamically or runtime depending on certain conditions.
    I had written format trigger on line and used SRW.SET_BORDER_WIDTH but it does not work. so what is other possible solution for this?
    Thanks in advance.

    In your variable vertical elasticity frame put several fixed vertical elesticity objects (lines, frames, etc.) of different heights. In the runtime, suppress all the objects in their format triggers, but one with the height you need. The objects need to be made invisible by setting their color to white.

  • How to change Labels in runtime ?

    Hello,
    Is it possible to change the labels in a view dynamically at runtime, based on some conditions?
    Regards
    Ajay

    Hi Sam,
    Yes, one way is to use multiple view configuration loaded based on the configuration. Can be done at DO_CONFIG_DETERMINATION method of IMPL class.
    Regards,
    Harish P M

  • Changing connection at runtime

    How can I change the db connection at
    runtime in a bc4j and jsp application:
    I start from a standard db connection
    read from the app property file and then
    I read from the database connection information and I have to reconnect.
    Thank's in advance
    Mauro

    If you want to change connections, you first have to logout. Besides the logon_screen builtin does not change the connection, but it only sets several application properties.
    In the Forms Help there is an example how to use the logon_screen. It basically comes to the next pl/sql code:
    declare
    MyUsername VARCHAR2(40);
    MyPassword VARCHAR2(40);
    MyConnect VARCHAR2(40);
    begin
    logon_screen;
    MyUsername := Get_Application_Property(USERNAME);
    MyPassword := Get_Application_Property(PASSWORD);
    MyConnect := Get_Application_Property(CONNECT_STRING);
    logout;
    if MyConnect is not null then
    logon(MyUsername,MyPassword| |'@'| |MyConnect);
    else
    logon(MyUsername,MyPassword);
    end if;
    end;
    null

  • Changing Picture at Runtime VS2005

    Hi
    I'm using VS2005 enterprise edition and the Crystal Reports that came with that package (the file versions say they are 10.2.3600).  All I want to do is insert an image at runtime, however this appears to be impossible judging by all the code I've looked through.  It seems that it was easy to do with version 9 and may be possible with version 11 but I can't find any code that works with the version that comes with VS2005.  Of course there's the standard method to insert an image and link it to a particular image in a folder, however this is fairly useless as when the program is deployed the user can choose which directory he installs to.  So what do I have to do to get this working.  Is it essential to upgrade?  If so what version do people recommend?  Once I have that version how do you change the image you want displayed in code (preferably VB.NET but I'm sure I can work out C#)?
    Thanks
    Lee Ottaway
    Fusion Software (UK) Ltd

    Hi, Lee;
    For the version of Crystal Reports that comes with .NET, you can use something like one of our samples shows:
    https://smpdl.sap-ag.de/~sapidp/012002523100006252822008E/net_win_smpl.exe
    Look for the sample, vbnet_win_DynamicImage.zip. It uses an ADO.NET dataset to change the image.
    For Crystal Reports XI R2 and Crystal Reports 2008, you can more directly change the image location using built in functionality.
    In the Designer, choose Insert > Picture. Choose a default image to show and save it. Right-click on it and select Format Graphic. Go to the Picture tab and click the formula button for Graphic location. Save the report.
    Then, at runtime you can populate the Formula with the new location for your image, either a URL or disk file location.
    See the following note for more information:
    [Image|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313338333333373334%7D.do]
    Best Regards,
    Jonathan

  • Change layout at runtime

    Hi, can i change panel's layout at runtime? I extend a panel which have a boxlayout as layout manager with X_AXIS setted, and i need to change it to boxlayout with Y_AXIS setted.
    Can i create a container like toolbar used by MAYA?
    Sorry for my English...
    Hello, peppe.

    hi steffen,
    we can select only one layout as "default" ..
    based on the selection scrren input , it is not possible to change the layout.
    but we can do it in another way,
    <b>have a set of fcats in various performs.
    call that perform based on the selection screen input.</b>
    liek this ..          
    ******dont forget to delete that layout which u hav created****8
    if radio_1 = 'x'.
        perform f_cat1.
    elseif radio_2 = 'x'.
       perform f_cat2.
    endif.
         form f_cat1.  " fcats
              srno
              pernr
              name
         endform.
       form f_cat2.
              srno
              pernr
              basic
              hra
        endform
    With Regards,
    S.BArani

Maybe you are looking for

  • Need Notification on creation of table

    Hi, I am looking for notification as soon a table is created in a document to perform some actions on it. I tried looking for Responder service but there is no such service available for table creation. Can some one suggest a way for the same? If I h

  • Information about CRM_STATUS_CHANGE_INTERN

    Dear All, Our CRM system just got migrated to 2007 and the data which we uploaded for CRM leads has System status as OPEN but USER_STATUS as E0001 to E00004.. Now i want to system status according to user status for these leads. How can i achieve thi

  • Crashes when upgrading to FCS 5.1

    I have been trying for a week to upgrade to Final Cut Studio 5.1 which I purchased for $700. I have been running FCP 3 for a while with no problems.I wiped my drives clean and tried to install the FCS, giving the key when prompted for the original FC

  • How to use connection pool with RDBMSRealm

    I am having a problem with the RDBMSRealm. The problem is that the connection defined in the .realm_properties file times out after 1 hour. My solution was to use the connection pool defined in the weblogic.properties file, but the realm_proprties ar

  • What is the iPhone 5 pairing password

    What is the pairing passcode for iPhone 5?