Updating DB from Edit control

Hi
   I have a list control that displays the data from a database.When I click on an item in a list control, the details of that item are displayed in the Edit control. Now, when I edit on those details in edit controls and click on an Update button
I want the newly entered details in the edit control to replace the old data in the list control.
This is my code to display the details in the edit control when the item is clicked in the list control.
void CDB2View:: OnClickYourListCtrl(NMHDR* pNMHDR, LRESULT* pResult)
int row=m_List.GetSelectionMark();
if(row<0)
    return;
CString s1=m_List.GetItemText(row,0);
CString s2=m_List.GetItemText(row,1);
CString s3=m_List.GetItemText(row,2);
c_Name.SetWindowText(s1);
c_Job.SetWindowText(s2);
c_Age.SetWindowText(s3);
I don't know how to replace the old data in the list control with the new data that is entered in the edit control. Pls help.

Use some collection class to store all the data and perform your update/Insert/Delete  data inside the collection class and then simply Fill the data inside the List control with these classes now you just have to Update the List control on the basis
of index that's all you have to do you simply can call SetItemtext() on particular index to change the text of list control with new item or delete all the item from list and fill it again ,Do whatever you want. Perform Update() on your control as well after
SetItemtext()
Thanks
Rupesh Shukla

Similar Messages

  • Update ZTable from editable ALV

    Hi All,
    i'm calling a Function Module from within a Badi Class ( Workorder_Update) which uses an ALV to Add Comments in a Field of the ALV for Transportation to a ZTable. Therefore the ALV is set to editable.
    The Problem is that if the User does not press 'enter' after she/he added the Comment, the value is not send back to the internal Table wich updates the ZTab. If the User presses 'enter' ONLY the Comment is transported but the remainder of the Fields are cleared.
    This is part of the Coding:
    Before Calling FM -->
      + IF wa_header_old-pronr NE wa_header-pronr.
            CLEAR wa_zthlog.
            wa_zthlog-uzeit     = sy-uzeit.
            wa_zthlog-aufnr     = wa_header-aufnr.
            wa_zthlog-objnr     = wa_header-objnr.
            wa_zthlog-vornr     = wa_operation-vornr.
            wa_zthlog-ktext     = wa_header-ktext.
            wa_zthlog-aenam     = sy-uname.
            wa_zthlog-aedat     = sy-datum.
            wa_zthlog-larnt     = wa_operation-larnt.
            wa_zthlog-pronr     = wa_header-pronr.
            wa_zthlog-arbei     = wa_operation-arbei.
            wa_zthlog-dauno     = wa_operation-dauno.
            wa_zthlog-dauno     = wa_operation-dauno.
            wa_zthlog-ltxa1     = wa_operation-ltxa1.
            wa_zthlog-arbid     = wa_operation-arbid.
            wa_zthlog-fieldname = 'PRONR'.
            wa_zthlog-matkl     = wa_operation-matkl.
            wa_zthlog-preis     = wa_operation-preis.
            wa_zthlog-waers     = wa_header-waers.
            wa_zthlog-old_value = wa_header_old-pronr.
            wa_zthlog-new_value = wa_header-pronr.
    Fill t_zthlog - Call FM
            APPEND wa_zthlog TO t_zthlog.
          ENDIF.
        ENDLOOP.
    Secure Values before change
        MOVE t_zthlog TO y_zthlog.+
    Calling FM -->
    +function z_thlog.
      t_zthlog[] = c_zthlog[].
      call screen 0100 starting at 10 3.
      c_zthlog[] = t_zthlog[].
    endfunction.+
    ALV Grid - Processing -->
    +module output_0100 output.
    Fill Fieldcatalog
      call function 'LVC_FIELDCATALOG_MERGE'
        exporting
          i_structure_name       = 'ZTHLOG'
        changing
          ct_fieldcat            = gt_fieldcat[]
        exceptions
          inconsistent_interface = 1
          program_error          = 2
          others                 = 3.
      if g_custom_container is initial.
    Prepare ALV
        create object g_custom_container
             exporting container_name = g_container.
        create object grid1
             exporting i_parent = g_custom_container.
        g_repid = sy-repid.
        gs_layout-grid_title = 'Änderungsprotokoll'.
        gs_layout-zebra      = 'X'.
        gs_layout-cwidth_opt = 'X'.
        gs_variant-report    = g_repid.
        gs_variant           = '/default'.
    gs_layout-edit = 'X'.
    Call ALV
        call method grid1->set_table_for_first_display
          exporting
            i_structure_name = 'ZTHLOG'
            is_layout        = gs_layout
            i_save           = 'A'
            is_variant       = gs_variant
          changing
            it_outtab        = t_zthlog
            it_fieldcatalog  = gt_fieldcat[].
    Ready for Input
        call method grid1->set_ready_for_input
          exporting
            i_ready_for_input = 1.
    Eventregistration
        call method grid1->register_edit_event
          exporting
            i_event_id = cl_gui_alv_grid=>mc_evt_enter.
        create object g_event_receiver.
        set handler g_event_receiver->handle_data_changed for grid1.
      else.
    Refresh, if filled
        call method grid1->refresh_table_display.
      endif.
    set Cursor
      call method cl_gui_control=>set_focus
        exporting
          control = grid1.
    endmodule.                 " output_0100  OUTPUT+
    There are alot of fields so the manual creation of the fieldcatalog should be avoided if possible.
    Any Help is appreciated!
    Best Regards
    Stefan

    Hi,
    Check this
    * Module Pai INPUT                                                     *
    * PAI module                                                           *
    module pai input.
      save_ok = ok_code.
      clear ok_code.
      call method grid1->check_changed_data
        importing
          e_valid = v_valid.
    " After this system will automatically update your changed data into
    " internal table t_zthlog
      case save_ok.
        when 'EXIT'.
          perform f_exit_program.
        when 'CANC'.
          perform f_exit_program.
        when 'BACK'.
          perform f_exit_program.
        when 'SAVE'.
          perform f_save_data.
      endcase.
    endmodule.                               " Pai INPUT
    aRs

  • Update dialog edit controls in LV

    I have a dialog with digital and text controls and a SAVE button. I want the
    controls values stored into a file when SAVE is clicked.
    Pb: If the user hits SAVE when one of the control is still being edited
    (active blinking cursor) the control will return its previous value since it
    is updated only after the user hits ENTER or selects another control.
    Q: Is it possible to force an update before reading values from the
    controls ?
    Thanks a lot.
    Michel.

    Hi chrisger
    I agree wiht Jpeters.
    One way to solve the fonts problem is using the app.ini file that goes whit your exec. Copy your font settings from labview.ini to that file to keep the fonts as originally. If NT has not those fonts, look for some similar ones and try different sizes.
    Hope this helps and shows utility of app.ini file.
    Alipio
    "Qod natura non dat, Salmantica non praestat"

  • Update value from internal table into table control

    hi friends,
    i have two text field and a button in a screen.if give the value and click the button it should get updated in the table control which is in the next screen.plz
    help me with some sample coding.

    hi Karthik ,
    Here you go with the sample coding of moving internal table values to table control on module pool programs :
    in screen painter flow-logic ............
    process before output.
    module status_3000.
    loop at g_tab_con_01_itab
         into g_tab_con_01_wa
         with control tab_con
         cursor tab_con-current_line.
    module tab_con_move.
    endloop.
    process after input.
    module exit at exit-command.
    module user_command_3000.
    module clear_ok_code.
    loop at g_tab_con_01_itab.
    module read_tab_con.
    endloop.
    in your program .............
    include z_tab_ctrl_top                          .    " global Data
    program  z_tab_ctrl.
    tables : sflight,sbook,zsflight.
    types:begin of t_tab_con_01 ,
            carrid like sflight-carrid,
            connid like sflight-connid,
            sel type c,
           end of t_tab_con_01.
    data: g_tab_con_01_itab type  t_tab_con_01 occurs 0 with header line,
          g_tab_con_01_wa type t_tab_con_01,
          g_tab_con_01_copied ,
          g_tab_con_01_lines like sy-loopc,
          ok_code like sy-ucomm,
          lines type i,
          init ,
          fill type i.
    controls: tab_con type tableview using screen 3000.
    module status_3000 output.
      set pf-status 'ST100'.
      set titlebar 'T100'.
    endmodule. 
    module update_table_control input.
      describe table g_tab_con_01_itab lines tab_con-lines.
    endmodule.  
    module exit input.
      ok_code = sy-ucomm.
      if ok_code eq 'BACK' or ok_code eq 'EXIT' or ok_code eq 'CANCEL'.
        leave program .
      endif.
    endmodule.        
    module clear_ok_code input.
    clear ok_code.
    endmodule.      
    module fill_tab_con output.
    read table g_tab_con_01_itab into zsflight index tab_con-current_line.
    endmodule.                 " fill_tab_con  OUTPUT
    module read_tab_con input.
    *lines = sy-loopc.
    read table g_tab_con_01_itab into g_tab_con_01_wa index tab_con-current_line.
    if sy-subrc eq 0.
    move-corresponding sflight to g_tab_con_01_wa.
    modify g_tab_con_01_itab from g_tab_con_01_wa index tab_con-current_line.
    else.
    move-corresponding sflight to g_tab_con_01_wa.
    append g_tab_con_01_wa to g_tab_con_01_itab.
    endif.
    module tab_con_move output.
    move-corresponding g_tab_con_01_wa to sflight.
    endmodule.                 " tab_con_move  OUTPUT
    module tab_con_get_lines output.
    g_tab_con_01_lines = sy-loopc.
    endmodule.                 " tab_con_get_lines  OUTPUT
    module tab_con_modify input.
    move-corresponding sflight to g_tab_con_01_wa.
      modify g_tab_con_01_itab
          from g_tab_con_01_wa
          index tab_con-current_line.
    endmodule.                 " tab_con_modify  INPUT
    module populate_tab_ctrl input.
    if sy-subrc eq 0.
    endif.
    endmodule.
    Look at the following modules in the above program ....
    fill_tab_con
    tab_con_modify
    tab_con_get_lines
    update_table_control
    This will definately solve your problem or give an idea for solution ....
    reward if helpful,
    Regards,
    Ranjita

  • HT5181 iPhoto for iOS: Photos in iphoto's Camera Roll folder are not updated automatically with edits from other programs

    How can I solve the problem în the subject?

    How can I solve the problem în the subject?
    What exactly are you trying to do?
    Have you been editing photos in iPhoto and want to add them to your camera rool or photo stream?
    Then do exactly as the article describes, that you lonked to:
    iPhoto for iOS: Photos in Camera Roll are not updated automatically with edits from iPhoto
    Use iPhoto's Sharing to save a copy of the edited photo to the Caera Roll, or explain on mor e detail, what you want to do.
    Regards
    Léonie

  • How to access the Custom Data type variable given in Expression edit control To and From LabVIEW

    Hello, I would like to know how to access the custom data type variable given in the Espression Edit Control from LabVIEW and vice-versa
    Say, the FileGlobals.Reference_Handle (Custom Data Type Variable) contains the
    VISA I/O session (Which in turn contains VISA_DeviceName: String, Session: Number),
    Channel1: Number and
    Channel2: Number
    I am expecting the user to give FileGlobals.Reference_Handle as the input at the ExpressionEdit Control in the edit screen of the VI Call.
    I would like to know how to get the values of this custom data type to LabVIEW?
    Say, if I have the Cluster in LabVIEW like VISA I/O session (Deive Name and Session Number), Channel1 and Channel2
    how do i need to set this cluster to the Custom Data type variable in TestStand?
    Thanks and Regards
    Prakash 

    Hi,
    TestStand to LabVIEW: i didnt understand what you r trying to achieve. But if you are using references, Use Property nodes and Invoke nodes to achieve what you want in LabVIEW.
     LabVIEW to TestStand: check the image below: You need to click the button next to 'container'. I have used a cluster output in the VI.
    Hope this helps
    .......^___________________^
    ....../ '---_BOT ____________ ]
    ...../_==O;;;;;;;;_______.:/
    Attachments:
    1.JPG ‏187 KB

  • How to Transfer Data from editable ALV grid control to internal table?

    Hi,
    Can anyone give me a simple example by which I can transfer data from editable alv grid control back to the internal table. The ALV has been created by OO approach.
    I would appreciate if the solution is provided without handling any events.
    Regards,
    Auro

    Hello Auro
    You simply need to call method <b>go_grid->check_changed_data</b> at PAI of the dynpro displaying the ALV grid. If data have been changed on the editable ALV grid then this method will raise event DATA_CHANGED. If you do not want or need to handle this event (e.g. for validating the edited values) then you do not define any event handler method.
    Regards
      Uwe

  • How to revert to diagnostics.wadcfg configuration from wad-control-container blob.

    Hello all,
    In our project at some point in the past we have enabled Diagnostics module for getting our log entries in Azure Storage. We added <Import moduleName="Diagnostics" /> to ServiceDefinition.csdef file and then enabled logs transfering and performance
    counters gathering in WebRole.OnStart method via DiagnosticMonitor.Start():
    DiagnosticMonitorConfiguration cfg = DiagnosticMonitor.GetDefaultInitialConfiguration();
    cfg.OverallQuotaInMB = 8192;
    cfg.Logs.ScheduledTransferLogLevelFilter = LogLevel.Verbose;
    cfg.Logs.ScheduledTransferPeriod = TimeSpan.FromSeconds(30);
    cfg.Logs.BufferQuotaInMB = 1000;
    // Define performance counter configuration.
    foreach (var counterName in PERFORMANCE_COUNTERS_NAMES)
    PerformanceCounterConfiguration perfCounterConfiguration = new PerformanceCounterConfiguration();
    perfCounterConfiguration.CounterSpecifier = counterName;
    perfCounterConfiguration.SampleRate = TimeSpan.FromSeconds(5);
    cfg.PerformanceCounters.DataSources.Add(perfCounterConfiguration);
    cfg.PerformanceCounters.BufferQuotaInMB = 1024;
    cfg.PerformanceCounters.ScheduledTransferPeriod = TimeSpan.FromMinutes(1);
    DiagnosticMonitor.Start("Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString", cfg);
    Then using Windows Azure Management Portal we activated Verbose monitoring mode and added several additional performance counters there in order to try the feature. I assume that doing that through the portal we actually modified wad-control-container blob
    so we got new performace counters configuration.
    Later we've realized that it would be better to manage all diagnostic configuration in diagnostics.wadcfg. We removed the code from role start and added diagnostics.wadcfg file to the project that declares the same we did before via code. When we redeployed
    we saw that the configuration remained as it was before - it didn't change at all. It still included new performance counters we added through the portal. It is because the order of precedence, where wad-control-container blob has the highest priority. So
    we deleted all the blobs from wad-control-container in order to revert back to diagnostics.wadcfg and redeployed the service. New blob was created in wad-control-container. It included everything from diagnostics.wadcfg as we expected and
    again we saw these custom performance counters we added via portal time ago. See below the blob content:
    <?xml version="1.0"?>
    <ConfigRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <DataSources>
    <OverallQuotaInMB>8192</OverallQuotaInMB>
    <Logs>
    <BufferQuotaInMB>1024</BufferQuotaInMB>
    <ScheduledTransferPeriodInMinutes>1</ScheduledTransferPeriodInMinutes>
    <ScheduledTransferLogLevelFilter>Verbose</ScheduledTransferLogLevelFilter>
    </Logs>
    <DiagnosticInfrastructureLogs>
    <BufferQuotaInMB>1024</BufferQuotaInMB>
    <ScheduledTransferPeriodInMinutes>5</ScheduledTransferPeriodInMinutes>
    <ScheduledTransferLogLevelFilter>Warning</ScheduledTransferLogLevelFilter>
    </DiagnosticInfrastructureLogs>
    <PerformanceCounters>
    <BufferQuotaInMB>4096</BufferQuotaInMB>
    <ScheduledTransferPeriodInMinutes>5</ScheduledTransferPeriodInMinutes>
    <Subscriptions>
    <PerformanceCounterConfiguration>
    <CounterSpecifier>\Memory\Available Mbytes</CounterSpecifier>
    <SampleRateInSeconds>10</SampleRateInSeconds>
    </PerformanceCounterConfiguration>
    <PerformanceCounterConfiguration>
    <CounterSpecifier>\Processor(_Total)\% Processor Time</CounterSpecifier>
    <SampleRateInSeconds>10</SampleRateInSeconds>
    </PerformanceCounterConfiguration>
    <PerformanceCounterConfiguration>
    <CounterSpecifier>\ASP.NET Applications(__Total__)\Requests/Sec</CounterSpecifier>
    <SampleRateInSeconds>5</SampleRateInSeconds>
    </PerformanceCounterConfiguration>
    <PerformanceCounterConfiguration>
    <CounterSpecifier>\ASP.NET Applications(__Total__)\Requests Executing</CounterSpecifier>
    <SampleRateInSeconds>5</SampleRateInSeconds>
    </PerformanceCounterConfiguration>
    <PerformanceCounterConfiguration>
    <CounterSpecifier>\ASP.NET Applications(__Total__)\Requests In Application Queue</CounterSpecifier>
    <SampleRateInSeconds>5</SampleRateInSeconds>
    </PerformanceCounterConfiguration>
    <PerformanceCounterConfiguration>
    <CounterSpecifier>\ASP.NET Applications(__Total__)\Requests Failed</CounterSpecifier>
    <SampleRateInSeconds>30</SampleRateInSeconds>
    </PerformanceCounterConfiguration>
    <PerformanceCounterConfiguration>
    <CounterSpecifier>\ASP.NET Applications(__Total__)\Requests Timed Out</CounterSpecifier>
    <SampleRateInSeconds>30</SampleRateInSeconds>
    </PerformanceCounterConfiguration>
    <PerformanceCounterConfiguration>
    <CounterSpecifier>\ASP.NET\Requests Rejected</CounterSpecifier>
    <SampleRateInSeconds>30</SampleRateInSeconds>
    </PerformanceCounterConfiguration>
    <PerformanceCounterConfiguration>
    <CounterSpecifier>\ASP.NET\Worker Process Restarts</CounterSpecifier>
    <SampleRateInSeconds>600</SampleRateInSeconds>
    </PerformanceCounterConfiguration>
    <!-- OLD unnecessary counters that were added manually through the portal START-->
    <PerformanceCounterConfiguration>
    <CounterSpecifier>\Memory\Available MBytes</CounterSpecifier>
    <SampleRateInSeconds>180</SampleRateInSeconds>
    </PerformanceCounterConfiguration>
    <PerformanceCounterConfiguration>
    <CounterSpecifier>\Web Service(_Total)\ISAPI Extension Requests/sec</CounterSpecifier>
    <SampleRateInSeconds>180</SampleRateInSeconds>
    </PerformanceCounterConfiguration>
    <PerformanceCounterConfiguration>
    <CounterSpecifier>\Web Service(_Total)\Bytes Total/Sec</CounterSpecifier>
    <SampleRateInSeconds>180</SampleRateInSeconds>
    </PerformanceCounterConfiguration>
    <PerformanceCounterConfiguration>
    <CounterSpecifier>\ASP.NET Applications(__Total__)\Errors Total/Sec</CounterSpecifier>
    <SampleRateInSeconds>180</SampleRateInSeconds>
    </PerformanceCounterConfiguration>
    <PerformanceCounterConfiguration>
    <CounterSpecifier>\ASP.NET\Requests Queued</CounterSpecifier>
    <SampleRateInSeconds>180</SampleRateInSeconds>
    </PerformanceCounterConfiguration>
    <!-- OLD unnecessary counters that were added manually through the portal END-->
    </Subscriptions>
    </PerformanceCounters>
    <WindowsEventLog>
    <BufferQuotaInMB>0</BufferQuotaInMB>
    <ScheduledTransferPeriodInMinutes>0</ScheduledTransferPeriodInMinutes>
    <Subscriptions />
    <ScheduledTransferLogLevelFilter>Undefined</ScheduledTransferLogLevelFilter>
    </WindowsEventLog>
    <Directories>
    <BufferQuotaInMB>256</BufferQuotaInMB>
    <ScheduledTransferPeriodInMinutes>5</ScheduledTransferPeriodInMinutes>
    <Subscriptions>
    <DirectoryConfiguration>
    <Path>C:\Resources\directory\ac17d63416cf41c8acfebbbcb3d90052.Mbo.Services.Web.DiagnosticStore\CrashDumps</Path>
    <Container>wad-crash-dumps</Container>
    <DirectoryQuotaInMB>256</DirectoryQuotaInMB>
    </DirectoryConfiguration>
    </Subscriptions>
    </Directories>
    </DataSources>
    <IsDefault>false</IsDefault> <!-- DEFAULT IS SET TO FALSE AGAIN -->
    </ConfigRequest>
    We tried to directly edit this XML. We removed redundant counters and changed IsDefault to "true" value in the XML and updated the blob in the wad-control-container using Azure Management Studio. Next time we redeployed the service - the counters
    again appeared in the configuration and IsDefault reverted to false again.
    Does anyone know how to permanently revert to managing diagnostics configuration only via diagnostics.wadcfg file and force the Azure to forget about manual edits we did via the portal?
    We use Azure SDK 1.4. 
    Thanks in advance for any insights!
    Vitaly

    Hi Vitaly,
    Did you try to change diagnostics configuration in VS? Like this:
    I suggest you could click the "Edit", and select your diagnostics metrics. Also, I want you double check your  re-deployment  project whether is right. Please try it.
    By the way, I suggest you could upgrade your SDK version and refer to this sample:
    http://www.windowsazure.com/en-us/develop/net/common-tasks/performance-profiling/
    http://msdn.microsoft.com/en-us/library/windowsazure/hh411542.aspx
    Any question or result, please let me know.
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to update DBtable in table control (MPP) for selected lines.

    Hi Folks,
    I need to update DBtable from the table control after modification of  only multiple selected rows.
    But my issue. any row if edited is being modified in DBtable.
    Client does not want me to use Check box so im using Selcolumn in module pool table control.
    Please help me in resolving the issue. Let me know if you have any queries
    Thanks
    Reddy

    Hi Reddy,
    Hope it helps.
    For  Sel column.
    Declare:
    Data : SEL  TYPES XFELD in Structure.
    Double click on the sel  field     give the structure name and field name as below in screen shoot.
    In Flow logic.
    PROCESS AFTER INPUT.
    loop at it_tab.
        FIELD YTBLCTRL-SEL.
    MODULE update.
    ENDLOOP.
    MODULE Updatedb.
    In Editor.
    MODULE UPDATE INPUT.
       MODIFY it_tab FROM YTBLCTRL INDEX tbc1-current_line.
       if ytblctrl-sel IS NOT INITIAL.
       lv_cnt = lv_cnt + 1.
       endif.
    ENDMODULE.
    MODULE UPDATEDB INPUT.
    Case sy-ucomm.
    WHEN 'SAVE'.
    if lv_cnt is NE '1'.
    Message 'select more than one item.
    else.
    Update DB.
    endif.
    Endcase.
    Regards,
    Venkat.

  • Data Guard configuration for RAC database disappeared from Grid control

    Primary Database Environment - Three node cluster
    RAC Database 10.2.0.1.0
    Linux Red Hat 4.0 2.6.9-22 64bit
    ASM 10.2.0.1.0
    Management Agent 10.2.0.2.0
    Standby Database Environment - one Node database
    Oracle Enterprise Edition 10.2.0.1.0 Single standby
    Linux Red Hat 4.0 2.6.9-22 64bit
    ASM 10.2.0.1.0
    Management Agent 10.2.0.2.0
    Grid Control 10.2.0.1.0 - Node separate from standby and cluster environments
    Oracle 10.1.0.1.0
    Grid Control 10.2.0.1.0
    Red Hat 4.0 2.6.9-22 32bit
    After adding a logical standby database through Grid Control for a RAC database, I noticed sometime later the Data Guard configuration disappeared from Grid Control. Not sure why but it is gone. I did notice that something went wrong with the standby creation but i did not get much feedback from Grid Control. The last thing I did was to view the configuration, see output below.
    Initializing
    Connected to instance qdcls0427:ELCDV3
    Starting alert log monitor...
    Updating Data Guard link on database homepage...
    Data Protection Settings:
    Protection mode : Maximum Performance
    Log Transport Mode settings:
    ELCDV.qdx.com: ARCH
    ELXDV: ARCH
    Checking standby redo log files.....OK
    Checking Data Guard status
    ELCDV.qdx.com : ORA-16809: multiple warnings detected for the database
    ELXDV : Creation status unknown
    Checking Inconsistent Properties
    Checking agent status
    ELCDV.qdx.com
    qdcls0387.qdx.com ... OK
    qdcls0388.qdx.com ... OK
    qdcls0427.qdx.com ... OK
    ELXDV ... WARNING: No credentials available for target ELXDV
    Attempting agent ping ... OK
    Switching log file 672.Done
    WARNING: Skipping check for applied log on ELXDV : disabled
    Processing completed.
    Here are the steps followed to add the standby database in Grid Control
    Maintenance tab
    Setup and Manage Data Guard
    Logged in as sys
    Add standby database
    Create a new logical standby database
    Perform a live backup of the primary database
    Specify backup directory for staging area
    Specify standby database name and Oracle home location
    Specify file location staging area on standby node
    At the end am presented with a review of the selected options and then the standby database is created
    Has any body come across a similar issue?
    Thanks,

    Any resolution on this?
    I just created a Logical Standby database and I'm getting the same warning (WARNING: No credentials available for target ...) when I do a 'Verify Configuration' from the Data Guard page.
    Everything else seems to be working fine. Logs are being applied, etc.
    I can't figure out what credentials its looking for.

  • Check for Updates and User Account Control

    With Adobe Reader the 'Check for Updates' function under Help does not appear to function when 'User Account Control (UAC)' in Windows Vista is turned on.
    When UAC is turned off, the 'Check for Updates' works, and if there an update is available for Adobe Reader, it will download and install.
    Other programs that update software funtion with UAC turned on, albeit with the additional dialog boxes that UAC brings, namely the CTL/ALT/DEL and user account logon (when applicable.)
    Without updating the Adobe Reader software, users are leaving themeselves open to vulnerabilities.  Without UAC turned on, users are also leaving themselves open to certain risks.  So there appears to be a dilemma presented.
    Does anyone know if/when Adobe will be changing the 'Check for Updates' functionality so it will behave more in-line with the UAC functionality?
    Thank you in advance for your time and attention.

    With UAC enabled, I start Adobe Reader, click on Help, and there is no selection for updating.  There is nothing for me to click.  Additionally, in Edit, Preferences, Updater, "Do not download or install updates automatically" is selected, and everything on the right pane is greyed-out.
    With UAC disabled, I start Adobe Reader, click on Help, and there is a selection for 'Check for Updates.'  In Edit, Preferences, Updater, I can select the various methods of downloading/updating Adobe Reader.  The option to download the update but not install was selected, as I wanted it to be.
    Finally, I noticed that the notice from Adobe, 'Update is ready to install,' appears in the Windows tray.  And it is this point that somewhat changes the serverity of the problem, that is, while 'Check for Updates' is not available when UAC is enabled, it appears that Adobe can still be updated through the automatic download feature.  The only problem with this is that I cannot tell if the update was downloaded while UAC was enabled (probably not since the download setting says not to) or while UAC was disabled.
    In any case, it still does not appear that our clients can get their Adobe Reader software updated while UAC is enabled.  And this represents a security dilemma for us.

  • Deleting the values from table control

    HI,
    I need to remove the selected line from the Table control on my screen.
    The point is that the Internal table does not have any records,.
    for example in the Customer Create screen,
    while entering the bank details we will enter it in a tbale contraol.
    but the records doesnt exist in the database. but the record gets deleted from the table control only if we press delete button.
    please guide me.
    please note : I want to delete the record from Table Control on the screen and I dont have any corresponding database records..
    regards

    Hi..
    The solution to your problem - deleting values from table control.
    Here: it_wizard is the internal table which is holding the value of table control.
             wa_wizard is the work are of the internal table it_wizard.
             it_delete is the internal table which holds the deleted record of table control.
             wa_delete is the work area of the internal table it_delete
    Also here the field ZSEL is the character field which is used to select the entire record in the table control.
    LOOP AT it_wizard into wa_wizard WHERE zsel = 'X'.
           MOVE-CORRESPONDING wa_wizard TO wa_delete.
           APPEND wa_delete TO it_delete.
           delete table it_wizard from wa_wizard.
    DELETE  FROM zfin_goods WHERE ZFG = WA_delete-ZFG.
    ENDLOOP
    if sy-subrc eq 0.
    Message 'Delete Successful' type 'S'.
    endif.
    The above code will delete the record from both the table control.internal table and the database table.
    I think this will help you to great extent.
    Ward regards,
    Bhuvaneswari
    Edited by: BHUVANESWARI THIRUNAVUKKARASU on Jan 7, 2009 10:39 AM

  • How to get updated values from the loops while they are running

    Hello,
            I am having difficulty solving a very basic problem, how to access the updated values from the 'FOR loop' while its running?  Basically, the VI  I am currently working on calls two sub VIs. Each sub VI has a for loop, and both VIs may or may not run for same number of iterations. My goal is to read the values at each terminal inside the loop of both sub VIs, in the Main VI. I tried to achieve it using Global Variables, but in main VI it displays only the last iteration value from both sub VIs. Could anyone please tell me whrere am I going wrong? Is there any other/better way to achieve this.
    I appreciate any input on this issue.  
    Kudos are (always) welcome for the good post. :-)
    Solved!
    Go to Solution.

    Dennis,
                In attached VI, I can see the values changing in the sub VI from the main VI with the numeric indicator whose reference is passed on to the sub VI. Now if I wanted to store or use those values how do I do that? I tried to chnge the indicator to control and read from it (in the attached VI) , but the the indicator updates only once. Tried to create a property node and read the Value from it and it didn't work either.
    Thanks in Advance!
    -Nilesh
    Kudos are (always) welcome for the good post. :-)
    Attachments:
    main-1.vi ‏8 KB
    sub-1.vi ‏9 KB

  • I am trying to update ITunes from 10.4 to 10.5 I have tried from both the program, and from a download on Apple's website. Regardless, I get the following error messages: (1) Installation package for iTunes cannot be found. Try installing to find the inst

    I am trying to update ITunes from 10.4 to 10.5 I have tried from both the program, and from a download on Apple's website. Regardless, I get the following error messages: (1) Installation package for iTunes cannot be found. Try installing to find the installation package 'iTunes.msi' in a folder from which you can install iTunes.  I can't find this folder. I have tried to completely unistall iTunes through the Control Panel, but it wouldn't let me: I tried going directly to the files themselves, but cannot uninstall. Any help would be greatly appreciated. System OS: Win XP SP 3.

    Set the permissions for Everyone in the folder in which CCPackager created, to "Read/Write" enabled. This is strange since there is only an administrator account on the Mac (and that account already has read/write), but it seems to resolve the issue.

  • Robo HTML 9 will not open our project from Source Control after initial start.

    We have a project in version control that we have been using forever, since 2003 or so and many versions of RH.  Now that we have upgraded to 9, this project will open the first time in version control and work normally.  Once you close the project and attempt to reopen from the starter screen, it opens just great, just not in version control.  The files are still set to read only.  I have done this several times and the only way i can work on my project in version control is to act like i am opening a project from scratch, then it needs to overwrite all of my local files with the server files.  It would not be so bad but I am 3000 miles away from the server and 13 hops plus a slow firewall on the other end.  While this has never been a problem in the past it is a big problem because it takes hours for all the files to download and overwrite my local files.
    This only happens with RH9 and Version Control 3.1.  RH8 works no problem.  So, I don't know if this is a RH9 starter problem or a Source Control Problem.  Maybe I will make a similar thread in the RH area.  I'll wait to see if I get any useful hits from this one first.
    It is very strange, I had RH9 open for several days because I was afraid to close the project for this reason and yesterday I published for the month so the heat is less right now but today, it opened with no source control.  If I go to Source Control the only thing i can select is put project in source control.  That is how it got into source control after converting to RH9.
    We have another project that seems to open from version control normally but we can only save topics in HTML view.  No useful answers to that topic after a week.
    Got any ideas???
    I have tried different folder names, different paths, etc.
    Thanks,
    dv

    Ok, here is a wierd one, I used the add to version control icon in the menu bar, It already knew the path so I figured I'm the only one who has been editing these files for the past few days so I clicked add to version control.  It added it. I closed and reopeded and still had the same files checked out.  Closed, checked in all, then reopened and it is working in SourceControl.  Strange that after opening from source control and closing that you need to reopen and tell it to put the project into source control.  Obviously some flag is not getting set somewhere.  This might help others having problems reopening source control files.
    dv

Maybe you are looking for

  • Confirmation: Account ***** requires an assignment to a CO object

    Dear all experts, I am trying to do confirmation for my production order in CO11N. However, i have received this error meesage when i am trying to save / post. "*Account ***** requires an assignment to a CO object*" Message no. KI248 = secondary cost

  • Cfscheduler does not trigger

    I have a daily scheduled task to backup up databases to a remote ftp site. The scheduled backup runs once at the scheduled time (after the task is initiated or reinitiated) and then never runs again. The scheduler.log, coldfusion.log and application.

  • I need a full tutorial for a 14 year old :|

    Hi, Im new to Final Cut Express 4 and im also 14 This means that its sorta complicated... so i was wondering if you (the people viewing this message) can Each make me about a 200 word tutorial on The items below. -Panning -Zooming (while the clip is

  • Group by trunc(date)

    Hi, lets say I have a source table like this Customer _ TimeStamp ________ BillAmount 001 ______ 01/01/2012 11:00 __ 100,00 001 ______ 01/01/2012 17:00 __ 150,00 I want to load a destination table like this Customer _ Date ________ BillAmount 001 ___

  • How to set default programs???

    How to set default programs? An example: when I click on a .doc it opens in TextEdit, but I want it to open with NeoOffice (to make that happen now requires right-click>open with>NeoOffice) How can I set NeoOffice as the default program for .doc, .xl