How to change the parameter 'Default Servers To Use For Viewing And Modification' using java api dynamically.

Hi,
I need to change the Crystal Reports setting 'Default Servers To Use For Viewing And Modification' to a particular server.this i need to do using java api.
could you pls provide me the sample code for this.
Regards
Srinivas

The IReport interface extends IViewingServerGroupInfo interface, that allows you to specify the server group. 
The choice selection for that interface is as follows:  0 = first available, 1 = prefer the selected server group, and 2 =  only use the selected server group.
The server group selection is by the SI_ID for that server group InfoObject.
Sincerely,
Ted Ueda - Developer Support

Similar Messages

  • I like the mail feature with one exception; I cannot figure out how to change the font size of incoming mail permanently.  And, when answering an email I have to highlight the first few words and zoom it so I can see what I am writing.  what am I missing?

    I like the mail feature with one exception; I cannot figure out how to change the font size of incoming mail permanently.  And, when answering an email I have to highlight the first few words and zoom it so I can see what I am writing.  what am I missing?

    You can type the email using what you set in preferences and then highlight the text and use command - minus sign (or command - + for larger) to reduce the size of the text.
    You can also type command - T and a window will appear allowing you to select fonts/sizes/color/ background highlight.
    The above works in Notes also. I haven't tried to do this in any other Apple application.
    For incoming emails, you can use the above to reduce font size, but I don't know of a way to permanently set the incoming font size to a default.

  • How to reference the value of a af:inputText at View level in a java clas

    How to reference the value of a <af:inputText> at View level in a java class at Model level? Thanks!

    Create AppModuleImpl class and create ther for example setMyParam procedure.
    (You can use AppModule. There simple interface to do this classes
    In JDev 11:
    1. Go to AppModule and in Java bookmark generate application module class.(AppModuleImpl.java)
    2. Put "private String myParam;" and method to access myParam "public void setMyParam(String myParam)".
    3. Again in the AppModule in the Java bookmark add method to client interface.
    AppModuleImpl.java
    public class AppModuleImpl extends ApplicationModuleImpl implements AppModule {
    * This is the default constructor (do not remove).
    private String myParam;
    public AppModuleImpl() {
    //this.
    public void prepareSession(Session session)
    super.prepareSession(session);
    myParam = myParam + myParam;
    public void setMyParam(String myParam) {
    this.myParam = myParam;
    prepareSession(getSession());
    AppModule.java
    public interface AppModule extends ApplicationModule {
    void setMyParam(String myParam);
    AppModuleClient.java
    public class AppModuleClient extends ApplicationModuleImpl implements AppModule {
    * This is the default constructor (do not remove).
    public AppModuleClient() {
    public void setMyParam(String myParam) {
    Object _ret =
    this.riInvokeExportedMethod(this,"setMyParam",new String [] {"java.lang.String"},new Object[] {myParam});
    return;
    And you can use method setMyParam as you wish :))) You can find it in AppModuleDataControl..
    Edited by: Victor_V_S on Jun 5, 2009 1:31 AM
    Edited by: Victor_V_S on Jun 5, 2009 1:33 AM
    Edited by: Victor_V_S on Jun 5, 2009 7:30 AM

  • How to change the parameter's value of Oracle Forms Applet?

    Hello,
    I'm working with Oracle Forms 10.1.2.3.0 and JRE 1.6.0_14, we got some performance issues and we think are related with Java, so we enabled Java trace and we realized that every time user moves the cursor from one item to another, the applet sends a request to the server. This is the request.
    network: Connecting http://server/forms/lservlet;jsessionid=e53bb50b2f95ecb357451bf21a291367cc1747d2d9956b3ba1c4a05916d87d34.e34LaheTahaLai0LaxyLbN4ObxqTe6fznA5Pp7ftolbGmkTy with proxy=DIRECT
    I want to disable these connections as Sun states that sometimes they are not needed (not sure if this is the case but we want to test it).
    I got a possible answer from a Sun forum, the possible fix is to set the following property to false:
    <APPLET ...>
    <PARAM name="codebase_lookup" value="false">
    </APPLET>
    But I don't know how to pass that parameter to Oracle Forms applet.
    Does anybody know?
    Thanks.

    You can try passing the parameter in the HTML template file ... for example in the $ORACLE_HOME/forms/server/basejpi.htm
    i.e.
    <PARAM NAME="TYPE" VALUE="%jpi_mimetype%">
    <PARAM NAME="CODEBASE" VALUE="%codebase%">
    <PARAM NAME="CODE" VALUE="oracle.forms.engine.Main" >
    <PARAM NAME="ARCHIVE" VALUE="%archive%" >
    <PARAM name="codebase_lookup" value="false">
    I have never done it myself so I do not know if it would be recognized though.

  • MOVED: how to change the cpu frequency/voltage from bios for k8ngm2il(n force 410)?

    This topic has been moved to Overclockers & Modding Corner.
    https://forum-en.msi.com/index.php?topic=98841.0

    Quote from: tech_junkie on 11-July-06, 16:03:26
    recently purchased an --msi k8ngm2il(n force 410) motherboard and an amd 64 3200+(venice core) processor..but now i cant overclock the processor from the bios settings,when ever i try to change the fid settings from the bios settings and try to reboot, the settings go back to its default value!so i cant change the settings!! so does that mean that i cant change the fid settings and overclock my processor??please help!!please tell me how do i cahne the cpu frequency??please
    do you save the settings before exiting bios? also make sure that you clear your bios once by removing the battery for 10 min, in order to clear all rezidual information.

  • How to change the Form field in Outlook 2011 for Mac ?

    Hey,
    I have Outlook 2011 on my Mac, and using Exchngae server 2008 for my emails. 
    In the exchnage server I have few differnet domain whic I use,
    In Microsoft Outllok I just can add the "Form" filed and change the email from whom I send,
    How can I define this in Outlook 2011 for Mac ?
    Thanks.

    Go into the List Advanced Settings, select Allow Management of Content Types.
    Go back to the List Settings, and go into the Content Type (e.g. Item). In the Content Type, click on Title, what is selected there? If it is not Optional, then do so and save the settings.
    Trevor Seward, MCC
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • How to change the name of (Guided procedure) GP Runtime View?

    Hello all!
    At Design time in GP (Guided Procedure), I have added a runtime view at the tab "Runtime Views" named Additional Resources to a GP process.  At runtime, when the process is started,  at the left bar appears the button "Additional Resources". Is there a way to change this name? Any idea can be helpfull :).
    Kindly Regards,
    Luiza

    Hi,
    an other solution is change the block property QUERY_DATA_SOURCE_TYPE from "Table" to "Sub-query" , than change at run time the property QUERY_DATA_SOURCE_NAME.
    First create block and add items
    The QUERY_DATA_SOURCE_NAME will be for ex. "Select 'A' as col1, 'B' AS col2, 'C' as col3 from dual"
    Set into items the column name property to col1 , col2 ...
    At run time change the query to "Select 'Z' as col1, 'X' as col2 , 'Y' as col3 from dual"
    in this way you can change the source of column value.
    Caution because if you change value type from varchar2 to date you must cast date into varchar2.
    May be that this way is valid only for view data not for insert-update, i don't remember.
    bye
    Message was edited by:
    Killernero

  • How to change the color of Numeric array elements (seperatel​y) programmat​ically using property node??

    For example, i have 3 numeric controls, controlling 3 numeric array elements (Numeric control is connected directly to indicator). Then if i change value in numeric control 1, then the array element No.1 of numeric array should turn red when value exceeds 5. Similarly when i change num control 2 then element 2 of array should turns red when value in num control 1 exceeds 10. Similarly for 3rd element. In other words, i want to control the property of array elements individually through seperate numeric control.
    I have done it for single numeric indicator.i.e. when i change numeric control's values then a single numeric indicator changes values and color (Numeric text BG property) but with array, the color of whole array changes but i want to change color of singles element of array.
    Please help thanks.  
    Solved!
    Go to Solution.

    ...or replace the numerics with clusters that have a numeric and a color box. make the background of the nmeric transparent and slide the color box behind the numeric. Use the color box to control the background color.
    Other alternatives would use a cluster instead of the array or if your req's are really weird "roll-your-own" with a Picture control.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Hello,i have changed the access of library and system files in macintosh HD through get info option.i changed the access to write only access for library and system files to no access for everyone.then mac stopped working..nothing opening now.

    hello
    i have changed the access of library to WRITE ONLY and also i changed the access of system files to NO ACCESS FOR ANYONE in macintosh HD.then,suddenly it stopped working.i tried it shut down.then it didnot shut down.then i pressed ctrl+command+power button.then it was shut down.
    NOW, nothing is opening in macbook pro.it is opening and only apple logo is shown.what should i do now.i knew nothing in mac.please help me.operating system is 10.7

    hello CT,
    it showed
    permissions differ on library: should be drwxr-xr-r
    repaired "library"
    permissions differ on system: sholud be should be drwxr-xr-r;they are d-wx-----------
    repaired "systems"
    like this many steps occured.
    then next step is permissions repair complete.

  • How to change the order of reviews in iTunes for iPhone?

    The settings recently changed for my iTunes account.  At first it would show me the most recent reviews. Now it shows me the reviews it backwards (oldest-recent).  How do you change it?

    There doesn't seem to be a way to sort them, but I wish Apple would fix this problem.

  • How to change the name or have no name for an iCloud email alias

    I had MobileMe on the iPhone with alias email addresses and I liked how it didn’t attach any “name” to an alias. For example, I had MainUserName, then for aliases I would have [email protected], [email protected], etc. When I sent an email from my iPhone using one of the aliases as the "from" no name would be associated with the alias email address. If it was the MainUserName then it would associate it, e.g. Main User <[email protected]> will show up on the "From" field when I sent an email. But with iCloud on the iPhone (and iPad), it’s Main User <[email protected]>, Main User <[email protected], etc., which I don’t want.  If anything it should be Alias 1 <[email protected]> or Alias 2 <[email protected]>.  Anyway, I don't want any name associated with the aliases, so when I send an email it will simply say [email protected] or just [email protected] with no name association. 
    It works differently if I access iCloud through a web browser.  If I send an email via iCloud on the web, I can customize and have a different name with each alias, e.g., Tom <[email protected]> or Harry <[email protected]>  And the customization carries over to the Mail app on my Mac.  That would be ideal if the customization carried over to the iPhone and iPad, but I'd be happy if there was no name association with alias email addresses.  Hopefully, there's a solution to the iPhone/iPad situation with iCloud as I don't want the name linked with the main iCloud email address linked with all the different email aliases I have.

    Set-Mailbox -Identity Mailbox1 -PublicFolder -Name NewName1 -Alias NewName1 -PrimarySMTPAddress [email protected]
    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."

  • How to change the size of a mixed signal graph programmaticaly and properly ?

    Hello to all
    I'm posting because I can't find a way to do the following thing :
    I want to resize a MixedSignal Graph programmatically using property node which are in read/write mode.
    For XY graph it works nicely using PlotAreaSize (? not sure of translation) (Zone de tracé : taille : hauteur;Zone de tracé : taille : largeur in french).
    For subpanel it works nicely using ContainerBounds (? not sure of translation) (Limites du conteneur : hauteur Limites du conteneur : largeur in french)
    For Mixed signal graph I use PlotAreaSize. It changes perfectly the width according to the change in size but not the height. Apparently the height of the plotArea is changing but not the height of the teminal....
    You have to pan in order to see the whole graph... 
    That is not what i'm expecting, does anybody know a way to change effectively the height of a mixed signal graph ?
    (Please avoid the answer like : "choose an other thing for plotting" thanks )
    Thanks for any help !

    Hello,
    And thank you for posting here.
    Indeed PlotAreaSize does not work as hope.
    You could take a look on this link :
     resize mixed graph
    It is one of way to do what you want.
    Regards Samuel G.
    Samuel G. | Application Engineer Team Leader
    Certified LabVIEW Developer
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Été de LabVIEW 2014
    12 présentations en ligne, du 30 juin au 18 juillet

  • How to change the list box to F4 Help for Billing type in VF01

    Hi All,
    In VF01 for Billing type i am getting List box. Now  I have to add one more field to that list box.
    like  F1 invoice
           F2 Invoice returns.
    or
    Is there any possiblity of making it as F4 Help instead of List Box.
    Please throw some lite on this issue.
    Regards,
    Rohit.

    Hi ,
    The list box is getting the value from the table TVFK .
    You can get the table name from the VALUE  TABLE of  FKART which is the domain
    for the field Billing Type .
    You need to Update the table TVFk programatically. Like  - -
    TABLES : tvfk.
    tvfk-FKART = 'F1'.  " Billing type
    tvfk-KOPGR =
    tvfk-VTEXT = 'Invoice '.  " Billing type description
    UPDATE TVKF FROM TVKF.  " Update the table
    Similarly you have to update the table by the F2 and and description.
    tvfk-FKART = 'F2'.
    tvfk-KOPGR =
    tvfk-VTEXT = 'Invoice returns'.
    UPDATE TVKF FROM TVKF.
    Regards
    Pinaki

  • How to tcack the table update event in sap for all tables by use of single

    Hello,
         I want to store the list of all OM,HR tables in a file which are updated after perticular date. For that i tried TRIGGER but i can write only one trigger for one table, i want such a that  i have to write only one trigger which will be invoked affter update operation on every HR,OM tables and i store information in a file  regarding which rows are updated and external application can use it.
    Thanks in advance,     
    SANDIP

    hi all the log for the change of any thing will be available in the tables DBTABLOG..REPOSRC ....
    regards,
    venkat.

  • How you change the download frequency for a single Podcast?

    I have iTunes 11.1.5 for Mac, and I can't find how to change the down load frequence , aka "check for new episodes" setting for individual podcasts. I've tried using the settings menu in the "My Podcasts" and the "List" podcast view. When I do this, I see these setting:
    Keep
    Download
    Sort Order
    Play Order
    If I click on the "Defaults..." button, the top setting is "check for new episodes"
    I have no problem with being able to change the  default download frequency setting, but I am at wit's end with locating where I can change that setting for individual podcasts.

    Bump.

Maybe you are looking for