How to change the spfile to the CCR with location + DATA.

Dear all,

My CAR is 2 node 11 GR 2 on Linux.

I need to change my spfile since my UNDO tablespace give error when starting Oracle:

ORA-01092: ORACLE instance is complete. Disconnection forced
ORA-30012: undo tablespace "UNDOTBS2" there is not, or of the wrong type

I changed the UNDO TABLESPACE recently to help change the system only.

Now, I want to change the UNDO TABLESPACE in spfile.

When I go to the dbs directory I can see the settings file and its content is: SPFILE='+DATA/racdb/spfileracdb.ora'

I need to change this file, how can I change it?

Kindly help

Kind regards
Imran

mrimran,

After asking a huge amount of questions doc you need to know

change the scope = spfile system

modifies the spfile

You should also know how to find documentation (searchable) at http://tahiti.oracle.com and use

Your abuse of this forum with questions doc is totally unacceptable.

I then mark, any other issue of doc of your grip as abuse of this forum. Each question, up to the moderators have deleted you!

----------------
Sybrand Bakker
Senior Oracle DBA

Tags: Database

Similar Questions

  • How to change the Rectangles with buttons

    I'm working on this example that does not work correctly:

    public class test extends Application
    {
    
        private void init(Stage primaryStage)
        {
    
            Group root = new Group();
            primaryStage.setScene(new Scene(root));
    
            String pillButtonCss = DX57DC.class.getResource("PillButton.css").toExternalForm();
    
            // create 3 toggle buttons and a toogle group for them
            ToggleButton tb1 = new ToggleButton("Left Button");
            tb1.setId("pill-left");
            ToggleButton tb2 = new ToggleButton("Center Button");
            tb2.setId("pill-center");
            ToggleButton tb3 = new ToggleButton("Right Button");
            tb3.setId("pill-right");
    
            final ToggleGroup group = new ToggleGroup();
            tb1.setToggleGroup(group);
            tb2.setToggleGroup(group);
            tb3.setToggleGroup(group);
            // select the first button to start with
            group.selectToggle(tb1);
    
            //////////////////////////////////////////
    
            final VBox vbox = new VBox();
    
            final Rectangle rect1 = new Rectangle(300, 300);
            rect1.setFill(Color.ALICEBLUE);
            final Rectangle rect2 = new Rectangle(300, 300);
            rect2.setFill(Color.AQUA);
            final Rectangle rect3 = new Rectangle(300, 300);
            rect3.setFill(Color.AZURE);
    
            tb1.setUserData(rect1);
            tb2.setUserData(rect2);
            tb3.setUserData(rect3);
    
            group.selectedToggleProperty().addListener(new ChangeListener<Toggle>()
            {
                @Override
                public void changed(ObservableValue<? extends Toggle> ov, Toggle toggle, Toggle new_toggle)
                {
                    if (new_toggle == null)
                    {
                        //rect.setFill(Color.WHITE);
                    }
                    else
                    {
                        vbox.getChildren().addAll((Node[]) group.getSelectedToggle().getUserData());
                        //rect.setFill((Color) group.getSelectedToggle().getUserData());
                    }
                }
            });
    
    
            ///////////////////////////////////////////
    
    
            HBox hBox = new HBox();
            hBox.getChildren().addAll(tb1, tb2, tb3);
            hBox.setPadding(new Insets(20, 20, 260, 20));
            hBox.getStylesheets().add(pillButtonCss);
    
    
    
            vbox.getChildren().add(hBox);
            //vbox.getChildren().add(rect);
    
            root.getChildren().add(vbox);
        }
    
        @Override
        public void start(Stage primaryStage) throws Exception
        {
            init(primaryStage);
            primaryStage.show();
        }
    
        public static void main(String[] args)
        {
            launch(args);
        }
    }
    
    
    

    I want to create several Rectangles (or in which object or object) in which I want to store data. I want to spend the Rectangles (objects) that appear in front of the user by using the buttons. The example that I put in place does not work correctly. Can you tell me what is the right way to implement this?

    REF javafx 2 - How to change the Rectangles with buttons - stack overflow

    You have two problems:

    User data that assign you to each button switches are a node, not a [Node]. Thus, the cast will fail on line 43.

    When the selected toggle changes, you add another Rectangle to the vbox. You want to replace the rectangle that is in the vbox.

    Try

    vbox.getChildren () .setAll ((Node) group.getSelectedToggle () .getUserData ());

  • How to change the vmdk in another data store

    for my vm four disks are there I want to increase disk capacity but there is no space on the data store

    Hello

    Solution is that you must change the drive to another data store and increase space.

    First findout in spatial data store is avaialble.

    Select the virtual machine and migration - migration datastore - Advanced - click the drive on which you want to increase space - browse - choose data store where space is available - finishing

    After migration - more space.

  • How to change the default backup location?

    For some reason any my backups suddenly changed places.  How to customize the backup location?

    Mac OS x v 10.9.5

    LR 5 v 5.5

    The location of your backup catalog is adjustable when you quit Lightroom and the backup dialog box is displayed.

  • How to change the cell in a data grid

    Hai

    I pasted the mxml below.

    I need how to change a cell in a datagrid control.

    1. run the mxml, enter values in the text box and click Add.

    2. then click on the button, AND now you can see the values displayed in the grid.

    3. can change the second combobox and enter values in the text box and click Add

    4. now, I need to change the values for a cell in the datagrid control.

    In the code below you can see the column value,
    I need to edit oly this cell in a particular row.


    Can someone help me.


    Thanks in advance

    <? XML version = "1.0" encoding = "utf-8"? >

    < mx:Application

    ' xmlns:mx = ' http://www.Adobe.com/2006/MXML "layout =" " absolute "

    >

    < mx:Script >

    <! [CDATA]

    ActionScript file

    import

    mx.rpc.events.FaultEvent;

    import

    mx.controls.Alert;

    import

    mx.managers.CursorManager;

    import

    mx.collections.ArrayCollection;

    [

    Bindable

    ]

    public var adhoc:ArrayCollection = new

    ArrayCollection();

    [

    Bindable

    ]

    public var serverString = ""

    ;

    private function initImage(event:MouseEvent):Sub

    {

    If

    (adhoc.length > 0) {

    CursorManager.setBusyCursor ();

    }

    }

    private function onChange():Sub

    {

    If

    (comboBox.selectedIndex == 0) {

    }

    on the other

    {

    }

    }

    private function onChange1():Sub

    {

    if (combo2.selectedItem == 'DATEDEPLOYED' | combo2.selectedItem == 'DATEUPLOADED' )

    ){

    datepick.visible =

    true

    txt.visible =

    fake

    }

    on the other

    {

    txt.visible =

    true

    datepick.visible =

    fake

    }

    }

    private function add():Sub

    {

    var

    Txt.text = str:string;

    if (str.length == 0 & & txt.visible == true )

    ){

    Alert.Show)

    'Value cannot be empty.

    );

    return

    ;

    }

    if (combo2.selectedItem! = 'DATEDEPLOYED' : combo2.selectedItem! = 'DATEUPLOADED' )

    ){

    if (txt.visible == true )

    ){

    var temp: Object = new

    Object();

    Temp.fname = combo2.selectedItem;

    Temp.Opera = combo1.selectedItem;

    Temp.Val =

    "'" + txt. Text+ "'"

    ;

    adhoc.addItem (temp);

    txt. Text =

    ""

    ;

    }

    }

    var

    str1:string = datepick.text;

    If

    (comboBox.selectedIndex == 1) {

    if (combo2.selectedItem == 'DATEDEPLOYED' | combo2.selectedItem == 'DATEUPLOADED' )

    ){

    if (str1.length == 0 & & datepick.visible == true )

    ){

    Alert.Show)

    "The date cannot be empty.

    );

    }

    on the other

    {

    var temp: Object = new

    Object();

    Temp.fname = combo2.selectedItem;

    Temp.Opera = combo1.selectedItem;

    Temp.Val = datepick.text;

    adhoc.addItem (temp);

    datepick. Text =

    ""

    ;

    }

    }

    }

    AddButton.Enabled =

    fake

    ;

    addopenbracket. Enabled =

    fake

    ;

    combo2. Enabled =

    fake

    ;

    Combo1.enabled =

    fake

    ;

    }

    private function querydelete():Sub

    {

    If

    (AdHoc.selectedIndex > 0) {

    If

    (AdHoc.selectedIndex == (adhoc.length - 1)) {

    ad-hoc [AdHoc.selectedIndex - 1] = .cond

    ""

    ;

    addopenbracket. Enabled =

    fake

    ;

    addclosebracket. Enabled =

    fake

    ;

    AddButton.Enabled =

    fake

    ;

    combo2. Enabled =

    fake

    ;

    Combo1.enabled =

    fake

    ;

    }

    combo2. SelectedItem = ad hoc [adhoc.length - 2] .fname

    Combo1.SelectedItem = ad hoc .opera [adhoc.length - 2]

    adhoc.removeItemAt (AdHoc.selectedIndex);

    adhocdetailgridcompilance.dataProvider = null;

    adhocdetailgrid.dataProvider = null;

    }

    else if

    (adhoc.length == 1) {

    adhoc.removeItemAt (AdHoc.selectedIndex);

    adhocdetailgridcompilance.dataProvider = null;

    adhocdetailgrid.dataProvider = null;

    addopenbracket. Enabled =

    true

    ;

    addclosebracket. Enabled =

    true

    ;

    AddButton.Enabled =

    true

    ;

    combo2. Enabled =

    true

    ;

    Combo1.enabled =

    true

    ;

    }

    on the other

    {

    Alert.Show)

    "Select the lines to remove."

    );

    }

    }

    private function andSubmit():Sub

    {

    for every()var obj:Object in

    Adhoc) {}

    If

    (obj.fname == combo2.selectedItem & & obj.opera == combo1.selectedItem) {

    if (combo2.selectedItem! = 'DATEDEPLOYED' : combo2.selectedItem! = 'DATEUPLOADED' )

    ){

    if (txt.visible == true )

    ){

    trace ()"2 is equal to '

    );

    var temp: Object = new

    Object();

    obj.cond = and.label

    adhoc.setItemAt (obj, adhoc.getItemIndex (obj));

    }

    on the other

    {

    trace (obj.fname + « : »

    (+ combo2.selectedItem);

    trace (obj.opera + « : »

    (+ combo1.selectedItem);

    trace (obj.val + ":" + "'"+txt.text+"'"

    );

    }

    }

    }

    else if

    (obj.fname is addclosebracket.label) {

    if (combo2.selectedItem! = 'DATEDEPLOYED' : combo2.selectedItem! = 'DATEUPLOADED' )

    ){

    if (txt.visible == true )

    ){

    trace ()"2 is equal to '

    );

    var temp: Object = new

    Object();

    obj.cond = and.label

    adhoc.setItemAt (obj, adhoc.getItemIndex (obj));

    }

    on the other

    {

    trace (obj.fname + « : »

    (+ combo2.selectedItem);

    trace (obj.opera + « : »

    (+ combo1.selectedItem);

    trace (obj.val + ":" + "'"+txt.text+"'"

    );

    }

    }

    }

    If

    (obj.fname == combo2.selectedItem & & obj.opera == combo1.selectedItem) {

    if (combo2.selectedItem == 'DATEDEPLOYED' | combo2.selectedItem == 'DATEUPLOADED' )

    ){

    if (datepick.visible == true )

    ){

    trace ()"2 is equal to '

    );

    var temp: Object = new

    Object();

    obj.cond = and.label

    adhoc.setItemAt (obj, adhoc.getItemIndex (obj));

    }

    on the other

    {

    trace (obj.fname + « : »

    (+ combo2.selectedItem);

    trace (obj.opera + ': ' )

    (+ combo1.selectedItem);

    trace (obj.val + ":"

    (+ datepick.text);

    }

    }

    }

    else if

    (obj.fname is addclosebracket.label) {

    if (combo2.selectedItem == 'DATEDEPLOYED' | combo2.selectedItem == 'DATEUPLOADED' )

    ){

    if (txt.visible == true )

    ){

    trace ()"2 is equal to '

    );

    var temp: Object = new

    Object();

    obj.cond = and.label

    adhoc.setItemAt (obj, adhoc.getItemIndex (obj));

    }

    on the other

    {

    trace (obj.fname + « : »

    (+ combo2.selectedItem);

    trace (obj.opera + ': ' )

    (+ combo1.selectedItem);

    trace (obj.val + ":"

    (+ datepick.text);

    }

    }

    }

    }

    AddButton.Enabled =

    true

    ;

    addopenbracket. Enabled =

    true

    ;

    combo2. Enabled =

    true

    ;

    Combo1.enabled =

    true

    ;

    }

    private function orSubmit():Sub

    {

    for every()var obj:Object in

    Adhoc) {}

    If

    (obj.fname == combo2.selectedItem & & obj.opera == combo1.selectedItem) {

    if (combo2.selectedItem! = 'DATEDEPLOYED' : combo2.selectedItem! = 'DATEUPLOADED' )

    ){

    if (txt.visible == true )

    ){

    trace ()"2 is equal to '

    );

    var temp: Object = new

    Object();

    obj.cond = or.label

    adhoc.setItemAt (obj, adhoc.getItemIndex (obj));

    }

    on the other

    {

    trace (obj.fname + « : »

    (+ combo2.selectedItem);

    trace (obj.opera + « : »

    (+ combo1.selectedItem);

    trace (obj.val + ":" + "'"+txt.text+"'"

    );

    }

    }

    }

    else if

    (obj.fname is addclosebracket.label) {

    if (combo2.selectedItem! = 'DATEDEPLOYED' : combo2.selectedItem! = 'DATEUPLOADED' )

    ){

    if (txt.visible == true )

    ){

    trace ()"2 is equal to '

    );

    var temp: Object = new

    Object();

    obj.cond = or.label

    adhoc.setItemAt (obj, adhoc.getItemIndex (obj));

    }

    on the other

    {

    trace (obj.fname + « : »

    (+ combo2.selectedItem);

    trace (obj.opera + « : »

    (+ combo1.selectedItem);

    trace (obj.val + ":" + "'"+txt.text+"'"

    );

    }

    }

    }

    If

    (obj.fname == combo2.selectedItem & & obj.opera == combo1.selectedItem) {

    if (combo2.selectedItem == 'DATEDEPLOYED' | combo2.selectedItem == 'DATEUPLOADED' )

    ){

    if (datepick.visible == true )

    ){

    trace ()"2 is equal to '

    );

    var temp: Object = new

    Object();

    obj.cond = or.label

    adhoc.setItemAt (obj, adhoc.getItemIndex (obj));

    }

    on the other

    {

    trace (obj.fname + « : »

    (+ combo2.selectedItem);

    trace (obj.opera + ': ' )

    (+ combo1.selectedItem);

    trace (obj.val + ":"

    (+ datepick.text);

    }

    }

    }

    else if

    (obj.fname is addclosebracket.label) {

    if (combo2.selectedItem == 'DATEDEPLOYED' | combo2.selectedItem == 'DATEUPLOADED' )

    ){

    if (txt.visible == true )

    ){

    trace ()"2 is equal to '

    );

    var temp: Object = new

    Object();

    obj.cond = or.label

    adhoc.setItemAt (obj, adhoc.getItemIndex (obj));

    }

    on the other

    {

    trace (obj.fname + « : »

    (+ combo2.selectedItem);

    trace (obj.opera + ': ' )

    (+ combo1.selectedItem);

    trace (obj.val + ":"

    (+ datepick.text);

    }

    }

    }

    }

    AddButton.Enabled =

    true

    ;

    addopenbracket. Enabled =

    true

    ;

    combo2. Enabled =

    true

    ;

    Combo1.enabled =

    true

    ;

    }

    public function addOpenBracket():Sub

    {

    var temp: Object = new

    Object();

    Temp.fname = addopenbracket.label

    adhoc.addItem (temp);

    addopenbracket. Enabled =

    fake

    addclosebracket. Enabled =

    true

    if (adhoc.length > 1 & & addopenbracket.enabled == false )

    ){

    AddButton.Enabled =

    true

    }

    }

    public function addCloseBracket():Sub

    {

    var temp: Object = new

    Object();

    If

    (adhoc.length > 1) {

    Temp.fname = addclosebracket.label

    adhoc.addItem (temp);

    addopenbracket. Enabled =

    true

    addclosebracket. Enabled =

    fake

    }

    if (adhoc.length > 1 & & addclosebracket.enabled == false )

    ){

    AddButton.Enabled =

    true

    }

    }

    private function dateChange(date:Date):Sub

    {

    if (date == null )

    ){

    }

    on the other

    {

    txt. Text = date.getDate () +.

    '/' + m:System.NET.SocketAddress.ToString () (date.getMonth () + 1) + '/'

    +

    date.getFullYear () m:System.NET.SocketAddress.ToString ();

    }

    }

    public function saveadhoc(event:Event):Sub

    {

    var AdhocRows:String = ""

    ;

    var

    i: int;

    var

    selectedType = comboBox.selectedItem;

    If

    (adhoc.length == 0) {

    Alert.Show)

    "Enter the query."

    );

    }

    on the other

    {

    for

    (i = 0; i < adhoc.length; i ++) {

    if (ad-hoc .fname [i]! = null )

    ){

    AdhocRows = AdhocRows + ad hoc [i] .fname +.

    " "

    ;

    }

    if (ad-hoc .opera [i]! = null )

    ){

    AdhocRows = AdhocRows + ad hoc [i] .opera +.

    " "

    ;

    }

    if (.val adhoc [i]! = null )

    ){

    AdhocRows = AdhocRows + ad hoc [i] .val +.

    " "

    ;

    }

    if (ad-hoc .cond [i]! = null )

    ){

    AdhocRows = AdhocRows + ad hoc [i] .cond +.

    " "

    ;

    }

    }

    var Parameters: Object = {adhocquery:AdhocRows, FlexActionType:'ADHOCQUERYSUBMIT' }

    adhocType:selectedType};

    adhocClick.send (parameters);

    }

    }

    private function retrieve():Sub

    {

    datepick.visible =

    fake

    txt.visible =

    true

    }

    []] >

    < / mx:Script >

    < mx:Array id=" model "

    >

    < mx:String > TYPE < / mx:String >

    < mx:String > AUDITRESULT

    < / mx:String >

    < mx:String > CATEGORY

    < / mx:String >

    < mx:String > CHILDRULE < / mx:String >

    < mx:String > PARENTRULE

    < / mx:String >

    < mx:String > AUDITGROUP

    < / mx:String >

    < mx:String > LOCATION

    < / mx:String >

    < mx:String > Name of the SELLER

    < / mx:String >

    < mx:String > DEVICECATEGORY

    < / mx:String >

    < / mx:Array >

    < mx:Array id=" inventories "

    >

    < mx:String > Name of the SELLER

    < / mx:String >

    < mx:String > DEVICETYPE

    < / mx:String >

    < mx:String > SERIES

    < / mx:String >

    < mx:String > MODEL

    < / mx:String >

    < mx:String > SUP/CPU

    < / mx:String >

    < mx:String > CODEVERSION

    < / mx:String >

    < mx:String > IMAGENAME

    < / mx:String >

    < mx:String > DATEDEPLOYED

    < / mx:String >

    < mx:String > LOCATIONNAME

    < / mx:String >

    < mx:String > Address1

    < / mx:String >

    < mx:String > Address2

    < / mx:String >

    < mx:String > CITY

    < / mx:String >

    < mx:String > STATE

    < / mx:String >

    < mx:String > COUNTRY

    < / mx:String >

    < mx:String > FLOOR < / mx:String >

    < mx:String > CABINET

    < / mx:String >

    < mx:String > CATEGORYNAME

    < / mx:String >

    < mx:String > DEPARTMENT

    < / mx:String >

    < mx:String > CONTACTNAME

    < / mx:String >

    < mx:String > CONTACTNUMBER

    < / mx:String >

    < mx:String > VERSION

    < / mx:String >

    < mx:String > FILE name

    < / mx:String >

    < mx:String > DATEUPLOADED

    < / mx:String >

    < / mx:Array >

    < mx:Accordion x=" 13 " y=" 55 "width = » 230 "height = » 492 "

    >

    < mx:Form

    " label = ' AdHoc Query Analyzer "width =" " 100% " 'creationComplete ="retrieve ()' height = ' 100% "color =" " #F2F8F9 "backgroundColor =" " #020202 "

    >

    < mx:Canvas " label = ' Query "width =" " 204 "height =" 440 "backgroundColor =" #020202 "" "

    >

    < mx:ComboBox x=" 66 "y =" 287 "width =" "id =" comboBox 134 "dataProvider =" [COMPLIANCE, INVENTORY] color "change ="onChange ()"=" #050505 " " > "

    < / mx:ComboBox >

    < mx:ComboBox x=" 5 "y =" 344 "width =" "id =" Combo1 109,25 "dataProvider =" [=!, "" =, >, > =, & lt; & lt; = AS] "color =" #010101 " "

    > < / mx:ComboBox >

    < mx:TextInput x=" 119,25 " y=" 344 "width = » 77,75 " id=" txt "color = » #050505 "

    / >

    < mx:Button x=" 3 "y =" 401 "label =" Add "width =" "click ="Add()"id =" AddButton 59 "color =" #FFFEFE "fillAlphas =" [0.6, 0.4, 0.75, 0.65] "fillColors =" [#FFFFFF, #CCCCCC, #EEEEEE #EEEEEE] "borderColor =" #B7BABC "themeColor =" #009DFF "" "" "" "

    / >

    < mx:Button x=" 66 "y =" 401 "label =" Remove "width =" 63,25 color "click ="querydelete ()"=" #FFFEFE "fillAlphas =" [0.6, 0.4, 0.75, 0.65] "fillColors =" [#FFFFFF, #CCCCCC, #EEEEEE #EEEEEE] "borderColor =" #B7BABC "themeColor =" #009DFF "" "" ""

    / >

    < mx:Button x=" 2 "y =" 373 "label =" ()"id ="addopenbracket"click ="addOpenBracket ()"width ="45"color ="#FFFEFE"fillAlphas ="[0.6, 0.4, 0.75, 0.65]"fillColors ="[#FFFFFF, #CCCCCC, #EEEEEE #EEEEEE]"borderColor ="#B7BABC"themeColor ="#009DFF"" "" ""

    / >

    < mx:Button x=" 51 "y =" 373 "label =" ( )"id ="addclosebracket"click ="addCloseBracket ()"width ="45"color ="#FFFEFE"fillAlphas ="[0.6, 0.4, 0.75, 0.65]"fillColors ="[#FFFFFF, #CCCCCC, #EEEEEE #EEEEEE]"borderColor ="#B7BABC"themeColor ="#009DFF"" ""

    / >

    < mx:Button x=" 134.25 "y =" 401 "label =" submit color "click ="saveadhoc (event); initImage (event)"=" #FFFEFE "fillAlphas =" [1.0, 0.69, 0.75, 0.65] "fillColors =" [#77B97A, #77B97A, #EEEEEE, #EEEEEE] "borderColor =" #77B97A "themeColor =" #009DFF "" "" "

    / >

    < mx:ComboBox x=" 66 "y =" 317 "width =" "id =" combo2 "change ="onChange1 ()"dataProvider =" {comp} 134 "color =" #010101 "" "

    >

    < / mx:ComboBox >

    < mx:DateField x=" 122.25 "y =" 344 "width =" 74.75 "initialize =" dateChange ((event.target) .selectedDate) "" id =" datepick " color =" #050505 " " "

    / >

    < mx:DataGrid x=" 1 "y =" 1 "width =" 203 "height =" "id =" AdHoc 282 "dataProvider =" {adhoc} "allowMultipleSelection =" true "color =" #020202 "" ""

    >

    < mx:columns >

    < mx:DataGridColumn " headerText =" Name "dataField =" " fname " id=" FNAM "

    / >

    < mx:DataGridColumn " headerText =" Operator "dataField =" " Opera " id=" OPE "

    / >

    < mx:DataGridColumn " headerText =" Value "dataField =" " Val " id=" earned "

    / >

    < mx:DataGridColumn " headerText =" Condition "dataField =" " cond " id=" condt "

    / >

    < / mx:columns >

    < / mx:DataGrid >

    < mx:Button x=" 99 "y =" 373 "label =" AND "width =" 52 "click ="andSubmit ()"id =" and "color =" #FFFEFE "fillAlphas =" [0.6, 0.4, 0.75, 0.65] "fillColors =" [#FFFFFF, #CCCCCC, #EEEEEE #EEEEEE] "borderColor =" #B7BABC "themeColor =" #009DFF "" "" "" "

    / >

    < mx:Button x=" 154 "y =" 373 "label =" OR "width =" 49 "click ="orSubmit ()"id =" or "color =" #FFFEFE "fillAlphas =" [0.6, 0.4, 0.75, 0.65] "fillColors =" [#FFFFFF, #CCCCCC, #EEEEEE #EEEEEE] "borderColor =" #B7BABC "themeColor =" #009DFF "" "" "" "

    / >

    < mx:Label x=" 7 "y =" 291 "text =" TYPE "width =" 59 "fontWeight =" "BOLD" "" ""

    / >

    < mx:Label x=" 5 "y =" 319 "text =" DISPLAY "width =" 59 "fontWeight =" "BOLD" "" ""

    / >

    < / mx:Canvas >

    < / mx:Form >

    < / mx:Accordion >

    < / mx:Application >

    You can enable editing in a DG to the entire DG or only some columns

    http://blog.flexexamples.com/2008/05/11/creating-an-editable-DataGrid-control-in-Flex/

    If you want to enable editing of a very specific cell then you use the itemEditBegin event to prevent modification of a cell who meet your criteria

    http://livedocs.Adobe.com/Flex/3/HTML/Help.HTML?content=celleditor_7.html

  • How to change the Source with EditText text in my Script?

    Here is my code, actually, the thing is I want to change my myEditText text in my control panel:

    function myScript(thisObj) {
              function myScript_buildUI(thisObj) {
                        var myPanel = (thisObj instanceof Panel) ? thisObj : new Window("palette", "My Panel Name", [0, 0, 300, 300]);
    
                        res="group{orientation:'column', alignment:['fill', 'fill'], alignChildren:['fill', 'fill'],\
                                  myEditText: EditText{text:'EditText text'},\
                                  myButton: Button{text:'Button Name'},\
                        }"
    
                        //Add resource string to panel
                        myPanel.grp = myPanel.add(res);
                        
                        
                        var texto = myPanel.grp.myEditText.text.value
                        
                        var btn =  myPanel.grp.myButton
                        
                        
                        
                        btn.onClick = function (){
                            
                            app.project.item(2113).layer("TXT 1").property("Text").property("Source Text").setValue = texto
                            
                            }
                        
                        
                        
                        
    
    
                        //Setup panel sizing and make panel resizable
                        myPanel.layout.layout(true);
                        myPanel.grp.minimumSize = myPanel.grp.size;
                        myPanel.layout.resize();
                        myPanel.onResizing = myPanel.onResize = function () {this.layout.resize();}
    
                        return myPanel;
              }
    
    
              var myScriptPal = myScript_buildUI(thisObj);
    
    
              if ((myScriptPal != null) && (myScriptPal instanceof Window)) {
                        myScriptPal.center();
                        myScriptPal.show();
                        }
              }
    
    
              myScript(this);
    

    Something like this should work:

    function myScript(thisObj) { 
    
      var textStr = "";
    
      function myScript_buildUI(thisObj) {
    
      var myPanel = (thisObj instanceof Panel) ? thisObj : new Window("palette", "My Panel Name", [0, 0, 300, 300]);  
    
      res = "group{orientation:'column', alignment:['fill', 'fill'], alignChildren:['fill', 'fill'],\
      myEditText: EditText{text:'EditText text'},\
      myButton: Button{text:'Button Name'},\
      }"
    
      //Add resource string to panel
      myPanel.grp = myPanel.add(res);
    
      // I added the next two lines.
      textStr = myPanel.grp.myEditText.text;
      myPanel.grp.myEditText.onChange =  myPanel.grp.myEditText.onChanging = textStringUpd;
    
      myPanel.grp.myButton.onClick = function (){
    
      app.project.item(2113).layer("TXT 1").sourceText.setValue(textStr);
      //or tell the script to change the soureText property of the currently selected layer (remove the two slashes from the line below and add them to the line above)
      //app.project.activeItem.selectedLayers[0].sourceText.setValue(textStr);
    
      }
    
      //Setup panel sizing and make panel resizable
      myPanel.layout.layout(true);
      myPanel.grp.minimumSize = myPanel.grp.size;
      myPanel.layout.resize();
      myPanel.onResizing = myPanel.onResize = function () {this.layout.resize();}
    
      return myPanel;
    
      }  
    
      var myScriptPal = myScript_buildUI(thisObj);
    
      // I added this function.
      function textStringUpd() {
    
      textStr = this.text;
    
      }
    
      if ((myScriptPal != null) && (myScriptPal instanceof Window)) {
                myScriptPal.center();
      myScriptPal.show();
      }
      }  
    
    myScript(this);
    

    I've added comments to indicate the changes that I made

  • How to calculate the days with 2 Date/time fields

    Hello
    I tried to create a workflow to update a numeric field with the following formula, however, I get an error message "value too long for the field 'ZNum_0' (maximum size 16) (SBL-DAT-00235). Can I know what is the problem with my calculation?

    dtCloseDate - dtAssignDate

    Thank you

    Hi, your formula is correct.

    You could be facing this problem because it will assess the value in decimal and result has no set limit for the decimal point. As digital field accept only 16 characters, the problem is occure.

    You must truncate the result with a defined decimal.

    Hope this will help you
    Dinesh

  • How to change the "open with...". "to the zip folder?

    On the accident when opening a zip file with another program after going to the screen 'Open with', I didn't know that the small box has been checked for "Always use the selected program to open this type of file".

    Now, whenever I try to open a zip file, it doesn't with a zip on the RECORD, as he used to. It opens in whatever program is selected to open it with.

    I don't know how to make my zip files open in a zip folder.

    HELP Please!

    See http://www.winhelponline.com/articles/105/1/File-association-fixes-for-Windows-Vista.html

    Download the fusion and reg fix zip file.

    I hope this helps. Microsoft® Security MVP, 2004-2009

  • How to change the Service Push account data?

    The integration of push for our application service was recorded by one of our previous employees. If his email address has been used in the process.

    I have now tried to get access to the portal of the administration of the push service, but was not able to connect with his credentials, and I don't see an option to reset the password.

    I have already emailed [email protected] about it twice and got no response.

    I would like to have the registration transferred to my account. How is that possible?

    Hello

    I'll have someone to look for it for you.

    Thank you

    Naveen M

  • How to change the fonts with JS?

    Hello

    I have some files using the font that I want to replace it with another, but fail to understand how to do this with scripts. It's probably something very simple, but I can't go anywhere...

    for example, files indd containing character using [MyOldFont] styles like font family - > how I itterate through all objects using a few references to the old font and replace [MyNewFont] as the family of fonts by the script?

    Thank you

    K.

    In the character styles, you say:

    If (myCharacterStyle.appliedFont is "Fonts X")

    myCharacterStyle.appliedFont = 'Font Y')

    and cela for all character styles and paragraph styles probably as well. Then maybe do a find/replace on the document to catch local applications of the police:

    app.findGrepPreferences = app.changeGrepPreferences = null

    app.findGrepPreferences.appliedFont = "Fonts X"

    app.changeGrepPreferences.appliedFont = "Fonts Y"

    app.activeDocument.changeGrep)

    Peter

  • How to change the Tiff with black background

    Hi all

    Here, I have attached test.tif illustrates normal file in windows Explorer, I'm open to change in photoshop, it opens with a black background can one has encountered this problem before?

    My thumbnails in windows Explorer

    img1.jpg

    My thumbnails of images in Photoshop CS2

    img2.jpg

    the original tiff image is here

    http://www.4shared.com/photo/fTznyfQr/test.html

    Thanks in advance

    concerning

    a you are the

    OK follow these steps to get rid black background

    1. open the image in Photoshop

    2 panel open layers

    3 hold down you control key and click on the Alpha (down in the Panel channel) channel, it will make a selection

    4. press the button DELETE and if you are prompted choose fill with 'White '.

    5. save

    Paul

  • How to change the time stamp of data hh:mm:ss:ms to hh?


    Replace your continuous sampling DAQ Assistant.  In this way, he'll enjoy permanently.  With the samples finished, it reads just when you tell him.

  • Oracle is how to change the functionality of a data entry form.

    Hi guys,.

    I'd like know if theres a way to retrieve and enter records in a form that is based on a single table, with this kind of functionality:
    -Enter the primary key (enter or tab), if the record exists then poster for edit and register.
    -If this is not the case exists, and then accept data in the fields and then save.

    This is because recently a customer migrate a small application of advanced forms of oracle revelation, and the people who use this registration form complains because they say that you need to type more keys to retrieve information.

    I know what it means to ignore the native functions to a form of oracle, but it's a question that I was invited.

    I apologize for my English.

    Jorge

    Good afternoon Jorge.

    Yes, you can do what you described. You can use a trigger when-validate-item to search for the key value the user has entered and then, if found, complete the rest of the screen. If the value is NOT found, you can just go to the next input value to allow the user to continue to enter the folder.

    Good luck
    Don.

    AWARDS: Don't forget to mark correct or useful posts on the forum, not only for my answers, but for everyone! :)

  • How to change the input descriptor of return on investment?

    I am a beginner of Labview Vision users. I need to convert a RGB image into binary image and superimpose a few lines on the binary image at random and then measure the length of the ordinate at the origin of the image. I came across the problem of changing of return on investment by incorporating a few random coordinates (by this contact information, I can generate random lines.). But I could not find how to change the coordinates or import data from an excel file coordination.

    Any help is appreciated.

    Jian

    If you have the package of Vision, you can use the line to convert to the KING function and the power cable in the KING of the image property.  If you do not, you will need to build your own KING.  Given the coordinates of line (X 1, Y1) and (X 2, Y2) the entries in the return on investment are the following.

    Global rectangle - table of 4 elements with values [X 1, Y1, X 2 + 1, Y2 + 1]

    Countours - single element (table 4 external elements, line [X 1, Y1, X 2, Y2])

  • How to change the SGA and PGA in 10g r2 RAC

    Hello

    How to change the SGA and PGA in 10g r2 RAC, its Linux.

    Hello

    Here's the way I followed to change the SGA and PGA in CARS.
    --------------------------------------------------------------------------------
    Action plan to change the parameter memory in the environment(5/21/2010) of production

    Note:
    =====
    Practice must be done in the DEV/TST environment before going to Production.
    Although the procedure can be applied in the testing environment the evolution of values
    used in the test environment should be amended since number of RAM are not the
    even between the production and test servers.

    1 changes to these two parameters in one of
    the prod instance, e.g. PROD1
    ====================================================
    Connect as sysdba on sqlplus
    --------------------------

    Change:

    ALTER system set sga_target = 28G scope = spfile sid ='* ';

    Change:

    ALTER system set pga_aggregate_target = 4G scope = spfile sid ='* ';

    SQL > alter system set pga_aggregate_target = 4G scope = both;
    SQL > show parameter pga_aggregate_target;
    -should see the number altered on both instances

    Change:

    SQL > alter system set sga_max_size = 28G scope = spfile sid ='* ';

    SQL > alter system set sga_max_size = 28G scope = spfile;

    SQL > alter system set sga_target = 28G scope = spfile;

    3 stop PROD database (two instances must stop)

    $> srvctl stop database d PROD
    $>. / $ ORA_CRS_HOME/bin/crs_stat - to check the status of the database

    4. establish the PROD database (two Forum should be high)

    $> srvctl START database-d PROD
    $>. / $ ORA_CRS_HOME/bin/crs_stat - to check the status of the database

    connection in both cases as sysdba to check
    --------------------------------------------

    SQL > show parameter pga_aggregate_target
              
    SQL > show parameter sga_max_size
    -should see the number of change always there in both cases
    -According to step 1

    -After confirmation above two parameters are changed on both instances.
    -then make the syntax below in a case

    (5) check that everything is ok

Maybe you are looking for