Problem  in Combo Select

Hi,
In my form i have a combo. My requirement is, for example i load 5 data A,B,C,D,E in combo. First i select the 'A' and load the corresponding elements in the matrix, next i select 'B' and the corresponding elements of 'B'  was loaded in matrix now again i select 'A ' it should check 'A' is already selected and the corresponding elements are already displayed in matrix again the elements of 'A' should not be loaded in matrix. Plz tell how to check this.
Thanks in Advance.
Regards,
Madhavi

Hi Madhavi,
here are the main parts of my little example.
Some hints:
The form is managed in a shared class (only one form at a time)
The Matrix is loaded via a DataTable
The Matrix is ReLoaded on every time the "ABCDE-Combo" is selected (except the value is already selected)
In the example I load Businesspartners into matrix where their CardName starts with A or B or....or E (you must adapt it for your needs)
SboCon.SboDI is the SAPbobsCOM.Company
SboCon.SboUI is the SAPbouiCOM.Application
Some global vars (initialize them somewhere when the form is opened!):
    Private Shared oForm As SAPbouiCOM.Form
    Private Shared oUds As SAPbouiCOM.UserDataSources
    Private Shared oDts As SAPbouiCOM.DataTables
    Private Shared oDtBp As SAPbouiCOM.DataTable
    Private Shared oMtxBp As SAPbouiCOM.Matrix
    Private Shared SelVals As System.Collections.ArrayList ' The values of the combo which already selected by the user
Init the vars somewhere (where you normally do this) on form load:
            oForm = '...set it in your way
            oDts = oForm.DataSources.DataTables
            oUds = oForm.DataSources.UserDataSources
            oMtxBp = oForm.Items.Item("MTX_BP").Specific
           ' DataBinding and related:
            '### Data Tables
            oDts.Add("DT_BP")
            '### UserDataSources
            '# ABCDE Combo:
            oUds.Add("UDS_SELBP", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 100)
            oForm.Items.Item("CBX_SELBP").Specific.databind.setbound(True, "", "UDS_SELBP")
            '### Fill ABCDE Combo
            oForm.Items.Item("CBX_SELBP").DisplayDesc = True
            oCbx = oForm.Items.Item("CBX_SELBP").Specific
            oCbx.ValidValues.Add("0", "Please select...")
            For val As Integer = Asc("A") To Asc("E")
                oCbx.ValidValues.Add(Chr(val), "Load " & Chr(val) & " BP")
            Next
            oUds.Item("UDS_SELBP").ValueEx = "0"
The Combo Select Event:
            If pVal.ItemUID = "CBX_SELBP" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_COMBO_SELECT Then
                If Not pVal.BeforeAction Then
                    If oUds.Item("UDS_SELBP").ValueEx != "0" Then
                        Dim oCbx As SAPbouiCOM.ComboBox = oForm.Items.Item("CBX_SELBP").Specific
                        If SelVals.Contains(oUds.Item("UDS_SELBP").ValueEx) Then
                            ' BP already selected - do nothing
                            SboCon.SboUI.StatusBar.SetText("Already selected!")
                        Else
                            If Not SelVals.Contains(oUds.Item("UDS_SELBP").ValueEx) Then
                                SelVals.Add(oUds.Item("UDS_SELBP").ValueEx)
                            End If
                            Dim query As String
                            oDtBp.Clear()
                            oMtxBp.Clear()
                            ' Build query for BPs where their names starts with the Combo-Value
                            query = "SELECT CardCode, CardName FROM OCRD WHERE "
                            For i As Int16 = 0 To SelVals.Count - 1
                                If i > 0 Then query &= " OR "
                                query &= "CardName LIKE '" & SelVals(i) & "%' "
                            Next
                            query &= " ORDER BY CardName"
                            ' load the MTX via DataTable (reloaded every time based on collected combo-values)
                            oDtBp.ExecuteQuery(query)
                            With oMtxBp.Columns
                                ' Zeilen-Nr.
                                .Item("0").DataBind.Bind("DT_BP", "CardCode")
                                .Item("1").DataBind.Bind("DT_BP", "CardName")
                            End With
                            oMtxBp.LoadFromDataSource()
                            oMtxBp.AutoResizeColumns()
                            SboCon.SboUI.StatusBar.SetText(oUds.Item("UDS_SELBP").ValueEx & " added!", SAPbouiCOM.BoMessageTime.bmt_Short, SAPbouiCOM.BoStatusBarMessageType.smt_Success)
                        End If
                        ' reset Combo to "Please select..."
                        oUds.Item("UDS_SELBP").ValueEx = 0
                    End If
                End If
            End If
ATTENTION: REPLACE the "!=" with less (<)/greater(>) symbol, they're not shown in ths forum
I hope I didn't forget sth. - here it works..
Cheers,
Roland
Edited by: Roland Toschek on Sep 25, 2008 11:54 AM

Similar Messages

  • Combo Select in Matrix

    Hi to all,
    I have a problem in combo Select in Matrix. I have a form with A matrix and One Column as a combobox. This Column is bind to one of the field of Table.
    I have loaded the combo with valid values, but when i select the combo item, it is not set in that column, i.e No value.
    regards
    Bikram

    Hi,
    Have you added a row to the matrix after initialisation of the column with the valid value ? if not add a row to the matrix. Check the below code
    SAPbouiCOM.Matrix oMatrix = null;
    SAPbobsCOM.Recordset oRecordset = null;
    LoadFromXML("frmLMM.srf");
    Global.oForm = Global.SboApplication.Forms.Item("frmLMM");
    oRecordset = (SAPbobsCOM.Recordset)(Global.oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset));
    oRecordset.DoQuery("select UnitDisply,UnitName from owgt");
    oRecordset.MoveFirst();
    oMatrix = (SAPbouiCOM.Matrix)(Global.SboApplication.Forms.Item("frmLMM").Items.Item("MtrxSrvc").Specific);
    for (int i = 0; i < oRecordset.RecordCount; i++)
                       oMatrix.Columns.Item("colUom").ValidValues.Add(oRecordset.Fields.Item("UnitDisply").Value.ToString(),
                       oRecordset.Fields.Item("UnitName").Value.ToString());
                        oRecordset.MoveNext();
    oMatrix.AddRow();
    Regards,
    Noor

  • Combo select value

    I have a problem with comobox select. I have build a form with 3 comboboxes. I added to the form a button for clear all the controls values in the form. When I am in the find mode nad i want to clear the combobox selected value it does not clear the value. and this is only when I am in find mode.
    I have also added the empty value to the combo datasource.
    the code is something like this:
    oCombo.Select(string.Empty, SAPbouiCOM.BoSearchKey.psk_ByValue);
    string selectedValue = _cmbCausale.Selected.Value;
    The problem is that  when I am in find mode the selectedValue it is not string.Empty but it is the last selected value from the form.
    does any one have any suggestion?

    HI,
    Set the datasource value to clear the combobox, then it will work.
    Regards
    J.

  • Problem in multiple selections in a jList

    I have two jLists. Now I have to select some items from one jlist and have to transfer in the other one. But while trying to do it in the runtime I am getting some unexpected runtime errors including "Exception occurred during event dispatching". When I try to transfer only one item it works fine but shows problem in multiple selections. Pleast give your suggestions.

    [_First suggestion_|http://catb.org/~esr/faqs/smart-questions.html]
    [_Second suggestion_|http://mindprod.com/jgloss/sscce.html]
    db

  • Problem in AT selection screen validation

    Hi,
    I am having problem in AT SELECTION SCREEN Validation.
    I have 2 radiobutton and 6 parameter. if i click first radio button  all the 6 radiobutton should enable and take the user input, that is working fine for me.
    if i click second radiobutton , out of 6 , 3 parameter should disable and remaining 3 should enable. thats also working fine.
    My problem is program has written the validation for this 3 parameter in the AT SELECTION SCREEN.
    For first radioutton all the validation working  fine, for second validation as soon as i press the radiobutton it will display error message. Based on 2 parameter user is filling value for 3 rd parameter.
    I want the same validation to be done for second radio button after user pressing enter.
    PARAMETER: p_single RADIOBUTTON GROUP rad1 DEFAULT 'X' USER-COMMAND f1,
               p_multi RADIOBUTTON GROUP rad1.
    PARAMETERS: s_pwwrk LIKE plaf-pwwrk.          
    PARAMETERS: p_lgort LIKE plaf-lgort.
    PARAMETERS: p_kostl LIKE cobl-kostl.
    here is my code:
    AT SELECTION SCREEN.
    CLEAR t001w.
      CLEAR t001k.
      CLEAR marv.
      SELECT SINGLE * FROM t001w WHERE werks EQ s_pwwrk.
      IF sy-subrc NE 0.
        MESSAGE e999 WITH 'Plant' s_pwwrk 'does not exist'.
      ELSE.
        SELECT SINGLE * FROM t001k WHERE bwkey EQ t001w-bwkey.
        SELECT SINGLE * FROM marv WHERE bukrs EQ t001k-bukrs.
        IF p_budat0(4) NE marv-lfgja OR p_budat4(2) NE marv-lfmon
    IF marv-xruem IS NOT INITIAL.
            IF p_budat0(4) NE marv-vmgja OR p_budat4(2) NE marv-vmmon.
    MESSAGE e999 WITH p_budat4(2) p_budat0(4)
                                'is closed.
                                            Please try again.'.
            ENDIF.
          ELSE.
            MESSAGE e999 WITH p_budat4(2) p_budat0(4)
                              'is closed.
                                          Please try again.'.
          ENDIF.
        ENDIF.
      ENDIF.

    For your Case ,
    If i understand clearly,You can do the validation when you want on AT SELECTION SCREEN ON WP_FIELD.
    If you say your validation to be done only for Selection of Second Radio Button, then..
    AT SELECTION SCREEN.
    if p_multi  eq 'X'. "<- Make Validation to be done only if user select Second Button
    CLEAR t001w.
    CLEAR t001k.
    CLEAR marv.
    SELECT SINGLE * FROM t001w WHERE werks EQ s_pwwrk.
    IF sy-subrc NE 0.
    MESSAGE e999 WITH 'Plant' s_pwwrk 'does not exist'.
    ELSE.
    SELECT SINGLE * FROM t001k WHERE bwkey EQ t001w-bwkey.
    SELECT SINGLE * FROM marv WHERE bukrs EQ t001k-bukrs.
    IF p_budat+0(4) NE marv-lfgja OR p_budat+4(2) NE marv-lfmon
    IF marv-xruem IS NOT INITIAL.
    IF p_budat+0(4) NE marv-vmgja OR p_budat+4(2) NE marv-vmmon.
    MESSAGE e999 WITH p_budat+4(2) p_budat+0(4)
    'is closed.
    Please try again.'.
    ENDIF.
    ELSE.
    MESSAGE e999 WITH p_budat+4(2) p_budat+0(4)
    'is closed.
    Please try again.'.
    ENDIF.
    ENDIF.
    ENDIF.
    endif.

  • Problem in my Select query

    Hi Experts,
    I need a clarification in my Select query.
    Have created a custom search help and my requirement is I have Request ID, Last and First Name as my search parameters. I need to fetch the values from my Ztable on search with the above said search parameters, where its workflow status = 30.
       * Get Request ID
      lv_pattern = <ls_query_params>-request_id.
      IF lv_pattern CA '*'.
        REPLACE ALL OCCURRENCES OF '*' IN lv_pattern WITH '%'.
      ENDIF. " IF lv_pattern CA '*'
      IF lv_pattern IS INITIAL.
        lv_pattern = '%'.
      ENDIF. " IF lv_pattern IS INITIAL
    ** Get NACHN - Lastname
        lv_last_name = <ls_query_params>-nachn.
        IF lv_last_name CA '*'.
          REPLACE ALL OCCURRENCES OF '*' IN lv_last_name WITH '%'.
        ENDIF. " IF lv_pattern CA '*'
        IF lv_last_name IS INITIAL.
          lv_last_name = '%'.
        ENDIF. " IF lv_pattern IS INITIAL
    ** Get VORNA - First Name
        lv_first_name = <ls_query_params>-vorna.
        IF lv_first_name CA '*'.
          REPLACE ALL OCCURRENCES OF '*' IN lv_first_name WITH '%'.
        ENDIF. " IF lv_pattern CA '*'
        IF lv_first_name IS INITIAL.
          lv_first_name = '%'.
        ENDIF. " IF lv_pattern IS INITIAL
    *Selecting the RequestID/Last and First Name values with workflow status as 30.
    SELECT zzreq_id " Internal number for appropriation request
                nachn
               vorna
      INTO TABLE lt_select_list
      FROM ZTABLE
      WHERE (  ( zzreq_id LIKE lv_pattern ) and
                     ( nachn like lv_last_name ) or
                      ( vorna LIKE lv_first_name ) )
           AND zzstatus = lv_workflow_status.
    My problem is, ofcourse this query is selecting all the records where status = 30 and even it works correctly, If I searches with Request ID(* or *3*).
    But am not able to select the records, if I searches with Last or First Name. Guess I did some thing wrong in select query.
    Please advice me.
    With Regards,
    Ram.

    Re: Problem in my Select query
    Krishna kumar Jun 9, 2014 7:52 AM (in response to Ramakrishnan Murugan)
    Hi Ramakrishnan,
                         Can you just try the below Select Query,
    SELECT zzreq_id
                nachn
               vorna
      INTO TABLE lt_select_list
      FROM ZTABLE
      WHERE ( zzreq_id     LIKE    lv_pattern                and
                         nachn         LIKE    lv_last_name         and
                         vorna          LIKE     lv_first_name )    and
                          zzstatus = lv_workflow_status.
    Cheers,
    Krishnakumar B.
    I think the above suggested query is same as your solution.

  • Problem in standard select query in fagll03

    Good Morning frndz,
    I m facing a problem while runnin fagll03. when executed it gives timeout error.
    When I debug it  , it gets stuck in a select query
    SELECT SINGLE * FROM t800m INTO CORRESPONDING FIELDS OF ls_b
    WHERE totable = ls_t800a-ntable
    AND fromtable = 'ACCIT_GLX'
    AND tofield = id_glflex_fieldname
    AND seqnr = space.
    The content in variable ls_t800a-ntable was FAGLFLEXA  and in id_glflex_fieldname was USNAM.
    When I cheked in table t800m, the entry could not be found. But in the report instead of setting
    sy-subrc = 0 , it is stuck in the select query itself....kindly suggest y it is happening so
    Regards,
    Vincy

    Re: Problem in my Select query
    Krishna kumar Jun 9, 2014 7:52 AM (in response to Ramakrishnan Murugan)
    Hi Ramakrishnan,
                         Can you just try the below Select Query,
    SELECT zzreq_id
                nachn
               vorna
      INTO TABLE lt_select_list
      FROM ZTABLE
      WHERE ( zzreq_id     LIKE    lv_pattern                and
                         nachn         LIKE    lv_last_name         and
                         vorna          LIKE     lv_first_name )    and
                          zzstatus = lv_workflow_status.
    Cheers,
    Krishnakumar B.
    I think the above suggested query is same as your solution.

  • Problem in displaying selected page items in the title in Graph

    Hi There;
    I have a problem in displaying selected value of named page item in the graphs.
    Eg. I have in my worksheet a page item named "Location"; when I use "&WorksheetName &Location" in the title of worksheet it is displaying both the worksheet title and value of selected page item "Location" in my example.
    But when I use the same (&WorksheetName &Location) in the title of graph or Axis of the graph, it would show up only the name of the worksheet but not the value of page item "Location", instead it would print "&Location"
    Any idea why it is not able to reference the select page item in Discoverer graph? I am using Oracle BI Discoverer 10.1.2.1.
    Thanks in Advance,
    Regards,
    Nidhi Jethoo

    Hi Michael;
    Thanks a lot. It might not have been considered necessary but you do require, e.g in my case I am plotting Average value of a Parameter and it does make sense in including the name/value of Parameter(surface water temp/bottom watter temp) as an Axis instead of just a constant Parameter or say Average Parameter. So that user can plot the variation of different parameters by changing the page items and when user changes the value of parameter and export the graph he/she has the parameter name(actual value) in the graph.
    But I can include all the parameters (&Parameters) or all the page items(using &PageItems) in graph then why not individual page-item and individual parameter.
    I would log a SR and see what they say.
    Thanks again,
    Nidhi

  • Problem in passing selection screen values using CALL TRANSACTION.

    Hi All
    I am facing problem in transfering selection screen values to the called transaction. I am trying to pass the path of the transaction filer but to no avail. The variable for filepath is not empty.
    Below is my code:
    DATA: lt_bdcdata TYPE TABLE OF bdcdata,
           wa_bdcdata TYPE bdcdata,
           opt TYPE ctu_params.
    CLEAR wa_bdcdata.
    wa_bdcdata-program  = 'RFBASM00'.
    wa_bdcdata-dynpro   = '1000'.
    wa_bdcdata-dynbegin = 'X'.
    APPEND wa_bdcdata TO lt_bdcdata.
    CLEAR wa_bdcdata.
    wa_bdcdata-fnam = 'BDC_CURSOR'.
    wa_bdcdata-fval = 'RFPDO1-FEBUMSF'.
    APPEND wa_bdcdata TO lt_bdcdata.
    CLEAR wa_bdcdata.
    wa_bdcdata-fnam = 'RFPDO1-FEBUMSF'.
    wa_bdcdata-fval = gv_filepath.
    APPEND wa_bdcdata TO lt_bdcdata.
    CLEAR wa_bdcdata.
    wa_bdcdata-fnam = 'BDC_OKCODE'.
    wa_bdcdata-fval = 'PASS'.
    APPEND wa_bdcdata TO lt_bdcdata.
    CLEAR wa_bdcdata.
    opt-dismode = 'E'.
    opt-updmode = 'S'.
    CALL TRANSACTION 'FF_5' USING lt_bdcdata OPTIONS FROM opt.
    Please help.
    Harsh

    Hi Harsh,
    I think you have entered wrong main program for tcode 'FF_5' and wrong screen field for the file name. Use the below code instead of yours.
    DATA: lt_bdcdata TYPE TABLE OF bdcdata,
           wa_bdcdata TYPE bdcdata,
           opt TYPE ctu_params,
           gv_filepath type char128 value 'C:\testfile.txt'.
    CLEAR wa_bdcdata.
    wa_bdcdata-program  = 'RFEBKA00'.
    wa_bdcdata-dynpro   = '1000'.
    wa_bdcdata-dynbegin = 'X'.
    APPEND wa_bdcdata TO lt_bdcdata.
    CLEAR wa_bdcdata.
    wa_bdcdata-fnam = 'BDC_CURSOR'.
    wa_bdcdata-fval = 'UMSFILE'.
    APPEND wa_bdcdata TO lt_bdcdata.
    CLEAR wa_bdcdata.
    wa_bdcdata-fnam = 'UMSFILE'.
    wa_bdcdata-fval = gv_filepath.
    APPEND wa_bdcdata TO lt_bdcdata.
    CLEAR wa_bdcdata.
    *wa_bdcdata-fnam = 'BDC_OKCODE'.
    *wa_bdcdata-fval = 'PASS'.
    *APPEND wa_bdcdata TO lt_bdcdata.
    *CLEAR wa_bdcdata.
    opt-dismode = 'A'.
    opt-updmode = 'S'.
    CALL TRANSACTION 'FF_5' USING lt_bdcdata OPTIONS FROM opt.
    Thanks.
    Regards,
    Jey

  • Problem with the selection screen in submit program

    Hi Friends,
    i am facing the problem wih the selection screen in submit program. in my Module pool program i am using the submit program statement, When i execute the program , The module program display the submit program selections creen.
    I have implemented the code same as below.
    submit ztest with tknum =p_tknum and  return.
    Can you pleaes help me how to avoid the submit program selection screen.
    Thanks,
    Charan

    Hi Charan,
    You have to give the selection screen values when you submit a job.
    Press F1 on submit and you will see more details.
    Here is an example from ABAP Documentation.
    Program accessed
    REPORT report1.
    DATA text(10) TYPE c.
    SELECTION-SCREEN BEGIN OF SCREEN 1100.
      SELECT-OPTIONS: selcrit1 FOR text,
                      selcrit2 FOR text.
    SELECTION-SCREEN END OF SCREEN 1100.
    Calling program
    REPORT report2.
         DATA: text(10)   TYPE c,
          rspar_tab  TYPE TABLE OF rsparams,
          rspar_line LIKE LINE OF rspar_tab,
          range_tab  LIKE RANGE OF text,
          range_line LIKE LINE OF range_tab.
    rspar_line-selname = 'SELCRIT1'.
    rspar_line-kind    = 'S'.
    rspar_line-sign    = 'I'.
    rspar_line-option  = 'EQ'.
    rspar_line-low     = 'ABAP'.
    APPEND rspar_line TO rspar_tab.
    range_line-sign   = 'E'.
    range_line-option = 'EQ'.
    range_line-low    = 'H'.
    APPEND range_line TO range_tab.
    range_line-sign   = 'E'.
    range_line-option = 'EQ'.
    range_line-low    = 'K'.
    APPEND range_line TO range_tab.
    SUBMIT report1 USING SELECTION-SCREEN '1100'
                   WITH SELECTION-TABLE rspar_tab
                   WITH selcrit2 BETWEEN 'H' AND 'K'
                   WITH selcrit2 IN range_tab
                   AND RETURN.
    Regards,
    Jovito.

  • How to set condition in choose from list based on the combo selection

    Dear Members,
         i have a requirement to filter the item based on the itemgroup. After choosing the itemgroup in the dropdown list i have to filter the item for the particular group in the choose from the list.since i have tried in the combo select it doesnt work out for me.any body can suggest me is it doable. if so pls tell me the work around.
    My coding is as follows..
    Case SAPbouiCOM.BoEventTypes.et_COMBO_SELECT
    if pval.itemUID="Cmb"
                                objChooseCollection = objForm.ChooseFromLists
                                objChooseFromList = objChooseCollection.Item("CFL1")
                                objConditions = objChooseFromList.GetConditions()
                                objcondition = objConditions.Add()
                                objcondition.Alias = "itmsgrpcod"
                                objcondition.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL
                                objcondition.CondVal = Form.items.item("Cmb").specific.selected.value
                                objChooseFromList.SetConditions(objConditions)
    End if
    With Regards,
    jai.
    Edited by: JaiShankarRaman on Dec 23, 2009 10:47 AM

    Hello,
    Following is a code sample which I am using:
            Dim oForm As SAPbouiCOM.Form
            Dim oMatrix As SAPbouiCOM.Matrix
            Dim oChooseFromList As SAPbouiCOM.ChooseFromList
            Dim oConditions As SAPbouiCOM.Conditions
            Dim oCondition As SAPbouiCOM.Condition
            Dim CodeType As Integer
            Try
                oForm = oPayOn.SBO_Application.Forms.GetForm(CflEvent.FormTypeEx, CflEvent.FormTypeCount)
                oMatrix = oForm.Items.Item("AC_MATRIX").Specific
                oChooseFromList = oForm.ChooseFromLists.Item("ACC_CFL1")
                CodeType = oMatrix.Columns.Item("AC_MC00").Cells.Item(CflEvent.Row).Specific.Selected.Value
                oConditions = oChooseFromList.GetConditions
                If oConditions.Count > 0 Then
                    oCondition = oConditions.Item(0)
                Else
                    oCondition = oConditions.Add
                End If
                oCondition.Alias = "U_CodeType"
                oCondition.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL
                oCondition.CondVal = CodeType
                oChooseFromList.SetConditions(oConditions)
            Catch ex As Exception
                'oPayOn.SBO_Application.SetStatusBarMessage(ex.Message, SAPbouiCOM.BoMessageTime.bmt_Medium, True)
            End Try
        End Sub
    I am calling this in the CFL event - before action. So when the user clicks on CFL button - but before it opens - this code is called and the condition is applied. Here AC_MC00 is a combo column in a matrix.
    Regards
    Rahul Jain

  • When combo selected, user form sholud be open

    Hi
    In system form, when value is selected in the combo box, at same time  user form should be opened. what is the coding for this process? can anyone help me..
    Regards
    Bhuvana

    Hi Bhuvana
    in the combo select event use this code to get your User form to load
    LoadFromXML("solution.srf")(Name of the srf file)
    oform = oapp.Forms.Item("solut")(FormUID)
      service_solution() (databinding)
    this is an easy way to load a form the for this use should have LoadFromXml() function like this
    Public Sub LoadFromXML(ByVal FileName As String)
            Dim oXmlDoc As New Xml.XmlDocument
            Dim sPath As String
            Try
    sPath = IO.Directory.GetParent(Application.StartupPath).ToString
                oXmlDoc.Load(sPath & "\" & FileName)
                oapp.LoadBatchActions(oXmlDoc.InnerXml)
            Catch ex As Exception
                oapp.MessageBox(ex.Message)
            End Try
        End Sub
    if this helps do reward points
    Edited by: Cool Ice on Jul 28, 2008 12:44 PM

  • Big problem with a select using remote database

    Hi Guy.
    I have a big problem with a simple query, but this is a scenario.
    Actuallly I'm in Alexandria - Egypt with a server with Oracle 10.2.0.4 database 32 bit on linux Red Hat as 4.8. the server can connect to another database oracle but 9.2.0.6 installed on Red Hat As 4.5 placed in Milano Italy . Ttwo networks are connected via two adsl cisco router with firewall and Vpn functions. In Egypt there isn't a very good adsl.
    In Alexandria, I'm trying to connect to database in Italy with sqlplus. The sqlplus connected I write.. select * from addetti and all work fine.
    My problem is that when I try to make the same select on a table with many columns oracle database kill me a session.
    My table (ic_lav) is long 174 colums 1924 byte for row. Well when I write a query with select * from ic_lav all oracle close my session.
    So I began to change my query I start to
    select field1 from ic_lav... and work
    select field1,field2,field3,..........field50 from ic_lav and work
    select field1,field2,field3,..........field70 from ic_lav and doesn't work
    the select work with 68 columns
    problem: the query with more then 1064 byte for row doesn't work.
    I've tryed with anoter big table with the same problem, but the select fwork with 65 columns...
    Iit is obvious that there is any problem with the limit of the query.
    The same query (select * from ic_lav) in localMilano)l work fine.
    The same query (select * from ic_lav) in vpn with a better adsl line and openvpn software (NO CISCO firewall) WORK FINE.
    The same query connectetd in Milano with a vpn make with analogic modem and remote access by windows work fine.
    the query (make on my laptop connectet with vpn by cisco doesn't work.
    In cisco firewall we haven't any error (cisco man tell me so)
    on database 9 I found :
    *** 2009-06-12 09:49:45.509
    *** SESSION ID:(66.44406) 2009-06-12 09:49:45.497
    FATAL ERROR IN TWO-TASK SERVER: error = 12152
    *** 2009-06-12 09:49:45.509
    ksedmp: internal or fatal error
    Current SQL statement for this session:
    select * from ic_lis where ditta
    ----- Call Stack Trace -----
    but I don't understand why the lost connection problem (bug 3816595 A processstate dump is produced for a lost connection (12152) ) is caused by len of row
    Anybody have some idea ?
    Thank you

    My table (ic_lav) is long 174 colums 1924 byte for row. Well when I write a query with select * from ic_lav all oracle close my session.Do you get any error?
    If the query length is a problem, you could create a view and query the view instead to see if this problem is resolved.

  • Probleme avec outil selection fleche noire

    bonjour a tous
    je suis novice sur illustrator
    je n'arrive plus à redimensionner mes objets avec l'outil selection fleche noire ,cela ne fait que deplacer les objets.
    quelle mauvaise manipulation ai je faite ?

    merci . mais cela ne marche toujours pas avec la fleche noire .je me sers donc de l'outil mise a l'echelle .y a t'il un moyen pour reinitialiser les fonctions ?merci
    je ne comprend pas ce que j'ai pu faire .au debut cela marchait bien ????
    Message du 01/01/11 17:35
    De : "Benoit Pennecot"
    A : "jean pierre charles"
    Copie à :
    Objet : probleme avec outil selection fleche noire
    Pour Redimensionner des objets, vous pouvez soit utiliser l'outil MISE À L'ÉCHELLE (Raccourci clavier S), soit utiliser l'outil de sélection (la flèche noire).
    Pour utiliser L'OUTIL DE SÉLECTION, survolez une poignée de redimensionnement (un des 8 petits carrés blancs qui apparaissent autour de votre objet sélectionné) jusqu'à ce que votre pointeur se transforme en double flèche. Cliquez et glissez.
    >

  • Combo select

    HI All,
    I have one requirement that is we had to display data depending up on our combo select
    That is if we select one item in a combo it should display items accordingly in a matrix. It means if we are having 5 columns.
    Thanx and Regards,
    krishna.v

    Hi,
    Use the Combo Select Event and refill the matrix.
    Case SAPbouiCOM.BoEventTypes.et_COMBO_SELECT
    If pVal.ItemUID = "cmbApStats" Then
               'Code for Refilling the matrix
    End IF
    Hope it helps.
    Regards,
    Vasu Natari.

Maybe you are looking for

  • Error while running  Assessment of Costs(TCode: KSU5)

    Hi Experts, I am facing a very critical situation which needs your immediate attention. While running an Assessment Cycle using TCode KSU5 i am facing an error which says : "No account is specified in item 0000000001 Message no. F5670 Diagnosis No ac

  • Drop Down Menu not functioning

    I'm very VERY new to dreamweaver/fireworks but have been making small changes to multipul websites for a company. They have asked me to come up with a totally new design for their primary webpage and I'm having an issue with the drop-down menu. I'm c

  • Help in suppressing Adobe Fields

    Hello all, I am new to Adobe forms livecycle designer, apologies if it is a basic question. My requirement is as below: 1. Based on the data in my xml data file may be one field some where in the file, I should be able to suppress other fields in the

  • How to extract file with the extension .CAR

    Hi, I have a requirement where I need to extract the file .CAR . I have tried with the following command in DOS prompt :-  CAR -xvf <filename>  but I am not able to extract the file.Can you please tell how can I extract this file.What do I need to in

  • Bbc iplayer won't in firefox but will in dolphin

    i have a tablet bbc iplayer will play in dolphin but not in firefox. i have followed the instructions onbbc and it still won,t work.