CFL and Matrix

Hello,Team
I want to use CFL (object-id =171 emp details)  in matrix column.
It is not getting copied values from CFL  into matrix cell i used to do in normal textbox(not in matrix) but i dont know how to do with matrix
i trie like this.
If oCFL.UniqueID = "EMP" Then
   oDH.setvalue ("U_Name", 0,oDT.GetValue("lastName", 0))
but not working
In normal text box this code is working.
By
Firos.C
Edited by: firoz101 on Jul 31, 2009 11:28 AM
Edited by: firoz101 on Jul 31, 2009 11:29 AM

Firoz
after setting the data to dbdatasource, call a SetLineData() or LoadFromDataSource() method for the matrix object.
Anoop

Similar Messages

  • Matrix with CFL and RecordSet with DoQuery

    Hello Experts,
                            How to use Matrix with CFL and RecordSet with DoQuery

    Hi Manish,
    Refer to SDK sample on CFL at ...\SAP\SAP Business One SDK\Samples\COM UI\VB.NET\17.ChooseFromList
    Go to SDK Help, Developer's Guide -> DI DPI -> Reference -> Overview -> Objects -> Recordset
    see the Example "Recordset Operations sample" at the bottom of the page
    HTH
    Aravind

  • Cfl in matrix

    Please any one help me how to add the cfl this matrix.
    oNewItem = oOrderForm.Items.Add("Matrix1", SAPbouiCOM.BoFormItemTypes.it_MATRIX)
            oNewItem.Left = 100
            oNewItem.Width = 350
            oNewItem.Top = oItem.Top + (i - 1) * 25
            oNewItem.Height = 100
            oNewItem.Visible = True
            oMatrix = oNewItem.Specific
            oColumns = oMatrix.Columns
            oNewItem.FromPane = 9
            oNewItem.ToPane = 9
            oColumn = oColumns.Add("#", SAPbouiCOM.BoFormItemTypes.it_EDIT)
            oColumn.TitleObject.Caption = "#"
            oColumn.Width = 30
            oColumn.Editable = False
            '// Add a column for BP Card Code
            oColumn = oColumns.Add("DSCardCode", SAPbouiCOM.BoFormItemTypes.it_COMBO_BOX)
            oColumn.TitleObject.Caption = "Item Code"
            oColumn.Width = 150
            oColumn.Editable = True
            oColumn.DataBind.SetBound(True, "opr1", "U_Code")

    Dear lakshmi narayanan,
    First you need add the CFL before using it
               Dim oCFLs As SAPbouiCOM.ChooseFromListCollection
                oCFLs = oForm.ChooseFromLists
                Dim oCFL As SAPbouiCOM.ChooseFromList
                Dim oCFLCreationParams As SAPbouiCOM.ChooseFromListCreationParams
                oCFLCreationParams = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_ChooseFromListCreationParams)
                oCFLCreationParams.MultiSelection = False
                oCFLCreationParams.ObjectType = "2"
                oCFLCreationParams.UniqueID = "CFL1"
                oCFL = oCFLs.Add(oCFLCreationParams)
    then add the CLF into the Column
           ' Adding a User Data Source
            oForm.DataSources.UserDataSources.Add("EditDS", SAPbouiCOM.BoDataType.dt_SHORT_TEXT)
           ' Bind the Column with the UserDataSources
            oColumn.DataBind.SetBound(True, "", "EditDS")
            oColumn.ChooseFromListUID = "CFL1"
            oColumn.ChooseFromListAlias = "CardCode"
    Best Regards
    Jane Jing
    SAP Business One Forums team

  • Filtering CFL on Matrix

    Hi to all,
    How can i filter the System CFL which is in Matrix Column. I have filtered the System CFL in Form but unable to do in CFL of Matrix.
    What i am trying to do is Filtering The Project Code CFL in A/R Invoice
    Here is the code i have
    if (pVal.FormTypeEx == "133" & pVal.ColUID == "4")
                        if (pVal.InnerEvent & pVal.Before_Action)
                            BubbleEvent = false;
                            SAPbouiCOM.Form oForm;
                            SAPbouiCOM.Column oColumn;
                            SAPbouiCOM.ChooseFromList oCFL = null;
                            SAPbouiCOM.Conditions oCons = null;
                            try
                                oForm = SboApplication.Forms.Item(pVal.FormUID);
                                oCFL = (SAPbouiCOM.ChooseFromList)oForm.ChooseFromLists.Item("26");
                                //AddChooseFromList();
                                oCons = oCFL.GetConditions();
                                if (oCons.Count == 0)
                                    SAPbouiCOM.Condition oCon = null;
                                    oCon = oCons.Add();
                                    oCon.Alias = "PrjCode";
                                    oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL;
                                    oCon.CondVal = "000021";
                                    oCFL.SetConditions(oCons);
                                BubbleEvent = true;
                            catch (Exception ex)
    with regards
    Bikram

    hi maskey,
    thanks for your reply, i have got the solution, the problem is due to the use same object in two different fields. i got the solutions.
    regards
    Bikram

  • Qualification Catalog and Matrix Load (SAP MRS)

    We are looking to load Qualification Catalog and Matrix using excel/csv file, in SAP MRS.
    Any BAPi/function module that we can refer to.... Any other inputs/pointers on developing this load program - please share...

    Yes, we were able to load using standard FMs...
    Qualification Catalog (using Function Module /MRSS/SQM_API_CAT_CREATE)
    Qualification Matrix (using Function Module /MRSS/SQM_API_MAT_CREATE)

  • How fast does Labview perform integer, float and matrix calculations?

    What is the speed of a modern CPU? Ok it is 3Ghz, one to four cores etc. but how much work can I get done in one clock cycle at this speed?
    This kind of questions have been in the back of my head for some time, so I decided to test it. Of course using Labview since it so easy to to use!
    I wrote a really simple program that performed 10000 adds 3 to an 32 bit integer in a loop. It then repeats this until 1000ms has elapsed and calculates the MegaInts (or whatever I should call it). I then did the same thing by adding 3 to a matrix of 10000 32bit ints.
    On and dual core 3Ghz PC from 2005 I got 261 Mints in a loop, and 1400 Mints in matrix. Only one core seems to be used, CPU load aorund 50%. So every two clock cycles or so I get some work done in a matrix calculation. Also older 1,8Ghz Celeron computers performs about the same in this test, even though they feel very slow in normal use.
    On a newer 4/8 core 2,8Ghz PC from this year I got 830 Mints in a loop, and 5900 Mints in matrix. Only one core seems to be used, CPU load aorund 12%. So actually more than one add per clock cycle!
    This indicates that either the compiler is smarter than me and does not to all integer adds, or the CPU is smart and do them very fast!
    See this as not the complete benchmark of Labview in integer, float and matrix calculations, but as a teaser to make you do your own tests.
    Play around and have fun!

    Norbert_B wrote:
    Yamaeda wrote:
    A standard loop only runs in 1 thread,[...]
    That is not true.
    A standard loop follows the clumping algorithm during compilation. Clumps can be distributed on any number of threads.
    So, a standard loop CAN be distributed between several threads.
    There are, however, some settings and structures which will result in a single thread per loop:
    - Setting the calling VI to "subroutine" priority (not recommended)
    - Using a Timed Loop instead of a standard one
    - AFAIK: Containing the loop in an InPlace Element Structure with "Data Value Reference" border nodes
    There is at least one additional option, but it is so unlikely (as it messes up with most of LV!) that i will not point it out here.....
    Norbert
    Why would we have parallellization options for a loop if it's already multithreaded? I'd love if loops would automatically parallellize.
    If you mean the content inside the loop, then it'll follow ordinary optimization and use several threads if possible. In this case OP mentioned 1 cpu was at 100%.
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV

  • Difference between Grid and Matrix in UI

    Hello,
    I am newer to UI Development in SBO.
    can someone explain the difference?
    Is that documented? Where?
    When is it necessary/better to use one or the other?
    Thank you

    Hello Andrea,
    If you use UDO and Matrix : it will be saved automaically the data, you do not have to program anyting.
    here is an example:
    Dim oForm As SAPbouiCOM.Form
            Dim creationPackage As SAPbouiCOM.FormCreationParams
            creationPackage = sbo_application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_FormCreationParams)
            creationPackage.UniqueID = "UDO_TEST"
            creationPackage.FormType = "UDO_TEST"
            creationPackage.ObjectType = "UDO_TEST"
            creationPackage.BorderStyle = SAPbouiCOM.BoFormBorderStyle.fbs_Fixed
            oForm = sbo_application.Forms.AddEx(creationPackage)
            oForm.Visible = True
            oForm.Width = 300
            oForm.Height = 400
            Dim oItem As SAPbouiCOM.Item
            oItem = oForm.Items.Add("1", BoFormItemTypes.it_BUTTON)
            oItem.Top = 336
            oItem.Left = 5
            oItem = oForm.Items.Add("2", BoFormItemTypes.it_BUTTON)
            oItem.Top = 336
            oItem.Left = 80
            oItem = oForm.Items.Add("3", SAPbouiCOM.BoFormItemTypes.it_EDIT)
            oItem.Top = 5
            oItem.Left = 100
            oItem.Width = 100
            oItem = oForm.Items.Add("30", SAPbouiCOM.BoFormItemTypes.it_STATIC)
            oItem.Top = 5
            oItem.Left = 5
            oItem.Width = 90
            oItem.Specific.caption = "Code"
            oItem = oForm.Items.Add("30", SAPbouiCOM.BoFormItemTypes.it_STATIC)
            oItem.Top = 5
            oItem.Left = 5
            oItem.Width = 90
            oItem.Specific.caption = "Code"
            oItem = oForm.Items.Add("4", SAPbouiCOM.BoFormItemTypes.it_EDIT)
            oItem.Top = 20
            oItem.Left = 100
            oItem.Width = 100
            oItem = oForm.Items.Add("40", SAPbouiCOM.BoFormItemTypes.it_STATIC)
            oItem.Top = 20
            oItem.Left = 5
            oItem.Width = 90
            oItem.Specific.caption = "Country"
            oItem = oForm.Items.Add("5", SAPbouiCOM.BoFormItemTypes.it_EDIT)
            oItem.Top = 35
            oItem.Left = 100
            oItem.Width = 100
            oItem = oForm.Items.Add("50", SAPbouiCOM.BoFormItemTypes.it_STATIC)
            oItem.Top = 35
            oItem.Left = 5
            oItem.Width = 90
            oItem.Specific.caption = "Phone"
            oItem = oForm.Items.Add("6", SAPbouiCOM.BoFormItemTypes.it_EDIT)
            oItem.Top = 50
            oItem.Left = 100
            oItem.Width = 100
            oItem = oForm.Items.Add("60", SAPbouiCOM.BoFormItemTypes.it_STATIC)
            oItem.Top = 50
            oItem.Left = 5
            oItem.Width = 90
            oItem.Specific.caption = "Email"
            oForm.Items.Item("3").Specific.DataBind.SetBound(True, "@UDO_TEST", "Code")
            oForm.Items.Item("4").Specific.DataBind.SetBound(True, "@UDO_TEST", "U_COUNTRY")
            oForm.Items.Item("5").Specific.DataBind.SetBound(True, "@UDO_TEST", "U_PHONE")
            oForm.Items.Item("6").Specific.DataBind.SetBound(True, "@UDO_TEST", "U_EMAIL")
            oForm.DataBrowser.BrowseBy = "3" ' for code field
            oForm.Menu.Add("5898", "Base Document", BoMenuType.mt_STRING, oForm.Menu.Count)
            oForm.EnableMenu("5898", True)
    UDO name: UDO_TEST
    fields in UDO: COUNTRY, PHONE, EMAIL
    Regards
    János
    Edited by: János Nagy on Aug 25, 2010 2:49 PM

  • CFL in matrix + manual values adding

    Hi experts
    I've got a matrix with CFL column. I can choose items via CFL but I would also like to write an item index manually. When I do so and press TAB I cannot lost focus on particular cell in the column, beacuse the program does not recognize the index. I bind the column with DBDataSource.
    Shall I change sth in CFL creation parameters or do what?
    Thanks in advance

    Well it works with any item in the form, but when it comes to matrix it doesn't.
    I must bind column with DbDataSource and maybe that's the reason. However I cannot  bind it with userdatasource, beacuse then I cannot change once written value - the source stays with 1st version.
    So I suppose DBdatasource is necessary, though as I mentioned I cannot put values manually then.
    Am I doing something wrong or what?

  • Copied down row entries by CFL in Matrix

    hello expert
    i created one form which have one matrix and one add row button.matrix have three colum like name,lname and age.name colum have CFL.when i added one then one more row and selected contend of cfl in it work fine but after adding two row when i go to change the content of first row by cfl . its copied the entries of down row not select the coosing entries .pls help me sir
                                                                       thanx a lot

    Hello expert
       for CFL i used this coading
                            If oCFL.UniqueID = "CFL_17" Then
                                Dim i As Integer
                                Dim j As Integer
                                Dim val1 As String
                                Dim val2 As String
                                Dim val3, val4 As String
                                Dim val5 As Integer
                                Dim oRecordSet As SAPbobsCOM.Recordset = objMain.objCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
                                oMatrix = oForm.Items.Item("orad1").Specific
                                val1 = oDataTable.GetValue("Code", 0)
                                val2 = oDataTable.GetValue("U_TName", 0)
                                val3 = oDataTable.GetValue("U_TName", 0)
                                val4 = oDataTable.GetValue("U_TType", 0)
                                val5 = 1
                                For i = 0 To oDataTable.Rows.Count - 1
                                    oMatrix.FlushToDataSource()
                                    oForm.DataSources.DBDataSources.Add("@PACK8")
                                    oForm.DataSources.DBDataSources.Item("@PACK8").SetValue("U_IRid", pVal.Row - 1, val1)
                                    oForm.DataSources.DBDataSources.Item("@PACK8").SetValue("U_IRName", pVal.Row - 1, val2.ToString.Trim())
                                    oForm.DataSources.DBDataSources.Item("@PACK8").SetValue("U_IRDesc", pVal.Row - 1, val3.ToString.Trim())
                                    oForm.DataSources.DBDataSources.Item("@PACK8").SetValue("U_IRType", pVal.Row - 1, val4.ToString.Trim())
                                    oForm.DataSources.DBDataSources.Item("@PACK8").SetValue("U_Qty", pVal.Row - 1, val5)
                                    Dim RS As SAPbobsCOM.Recordset
                                    RS = objMain.objCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
                                    RS.DoQuery("Select T2.ListName,T0.PriceList,T0.Price from ITM1 T0,OITM T1,OPLN T2 where T0.ItemCode = T1.ItemCode and T2.BASE_NUM=T0.PriceList and T1.ItemName='" & val4 & "' ")
                                    RS.MoveFirst()
                                    If (colItemRPriceList.ValidValues.Count <= 0) Then
                                        While RS.EoF = False
                                            Dim a, b As String
                                            a = RS.Fields.Item("PriceList").Value
                                            b = RS.Fields.Item("Price").Value
                                            colItemRPriceList.ValidValues.Add(RS.Fields.Item("ListName").Value, RS.Fields.Item("Price").Value)
                                            'colItemPriceList.Columns.Item("V_7").Cells.Item(pVal.Row).Specific.ValidValues.Add(RS.Fields.Item("PriceList").Value, RS.Fields.Item("Price").Value)
                                            RS.MoveNext()
                                        End While
                                    End If
                                    oMatrix.LoadFromDataSource()
                                    oMatrix.SetLineData(pVal.Row)
                                    If Not i = oDataTable.Rows.Count - 1 Then
                                        oMatrix.AddRow()
                                    End If
                                Next
                            End If

  • Cfl for matrix

    hi friends
    i had created a form with a matrix and an editbox. i can apply the cfl for the editbox but i cant use the same for the first column of the  matrix...can anyone provide any sample coding for this process
    thanks and regards
    manoj nagaraj

    Hi
    Look this. I think this code is complete.
    Best regards
    Sierdna S.
    Public Sub SBO_CreateForm(...)
    '... add controls to form, matrix, matrix columns,...
      Call AddChooseFromList(oForm)
      oForm.Visible = True
    End Sub
    Private Sub AddChooseFromList(ByRef oForm As SAPbouiCOM.Form)
      Try
        Dim oCFLs As SAPbouiCOM.ChooseFromListCollection
        Dim oCons As SAPbouiCOM.Conditions
        Dim oCon As SAPbouiCOM.Condition
        oCFLs = oForm.ChooseFromLists
        Dim oCFL As SAPbouiCOM.ChooseFromList
        Dim oCFLCreationParams As SAPbouiCOM.ChooseFromListCreationParams
        oCFLCreationParams = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_ChooseFromListCreationParams)
        ' CFL for Items ------------------------------
        oCFLCreationParams.MultiSelection = False
        oCFLCreationParams.ObjectType = 4
        ' Item Code
        oCFLCreationParams.UniqueID = "cflIC"
        oCFL = oCFLs.Add(oCFLCreationParams)
        oCons = oCFL.GetConditions()
        oCon = oCons.Add()
        ' Item Name
        oCFLCreationParams.UniqueID = "cflIN"
        oCFL = oCFLs.Add(oCFLCreationParams)
        oCons = oCFL.GetConditions()
        oCon = oCons.Add()
        ' CFL button
        oCFLCreationParams.UniqueID = "cflIB"
        oCFL = oCFLs.Add(oCFLCreationParams)
        oCons = oCFL.GetConditions()
        oCon = oCons.Add()
        Catch ex As Exception
          ' log exception
        Finally
          System.GC.Collect() 'Release the handle to the table
        End Try
    End Function
    Public Sub ManageItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean)
      Dim oForm As SAPbouiCOM.Form
      oForm = SBO_Application.Forms.Item(FormUID)
      Select Case pVal.EventType
        Case BoEventTypes.et_CHOOSE_FROM_LIST
          If Not pVal.BeforeAction Then
         Dim oCFLEvento As SAPbouiCOM.IChooseFromListEvent
         oCFLEvento = pVal
         Dim sCFL_ID As String
         sCFL_ID = oCFLEvento.ChooseFromListUID
         Dim oCFL As SAPbouiCOM.ChooseFromList
         oCFL = oForm.ChooseFromLists.Item(sCFL_ID)
         Dim oDataTable As SAPbouiCOM.DataTable
         oDataTable = oCFLEvento.SelectedObjects
         Dim sCode As String = ""
         Dim sName As String = ""
         Try
           sCode = oDataTable.GetValue(0, 0) ' Code
           sName = oDataTable.GetValue(1, 0) ' Name
         Catch ex As Exception
           sCode = ""
           sName = ""
           ' log exception
         End Try
         ' Rows
         If (pVal.ColUID = "colICode") Or (pVal.ColUID = "colIName") Then
           oForm.DataSources.DBDataSources.Item("@USER_TABLE").SetValue("U_ItemCode", pVal.Row, sCode)
           oForm.DataSources.DBDataSources.Item("@USER_TABLE").SetValue("U_ItemName", pVal.Row, sName)
           Call UpdateCells(oForm, pVal.Row, sCode, sName)
         End If
          End If
      End Select
      oForm = Nothing
    End Sub
    Private Function UpdateCells(ByRef oForm As SAPbouiCOM.Form, ByVal iRow As Integer, _
                        ByVal sCode As String, ByVal sName As String) As Boolean
      Dim b As Boolean = True
      Try
        Dim oMatrix As SAPbouiCOM.Matrix
        Dim oColumn As SAPbouiCOM.Column
        Dim oCell As SAPbouiCOM.Cell
        Dim oEdit As SAPbouiCOM.EditText
        ' MatrixID
        oMatrix = oForm.Items.Item(MatrixID).Specific
        oColumn = oMatrix.Columns.Item("colICode")
        oCell = oColumn.Cells.Item(iRow)
        oEdit = oCell.Specific
        oEdit.String = sCode
        oColumn = Nothing
        oCell = Nothing
        oEdit = Nothing
        oColumn = oMatrix.Columns.Item("colIName")
        oCell = oColumn.Cells.Item(iRow)
        oEdit = oCell.Specific
        oEdit.String = sName
        oColumn = Nothing
        oCell = Nothing
        oEdit = Nothing
        oMatrix = Nothing
      Catch ex As Exception
        b = False
        ' log exception
      Finally
        System.GC.Collect() 'Release the handle to the table  
      End Try
      Return b
    End Function

  • CFL on matrix

    Hi all,
    Can someone help me?
    When  i select the row on my CFL popup i get nothing on my edit Textbox (it's a matrix column). At beginning i got the error "La référence d'objet n'est pas définie à une instance d'un objet" but now this error has desappear.
    I have used screen painter to add the CFL.
    Regards.

    Hi,
    I don't get the error message now but when i click on select button in the A/R Invoice popup i don't get something in my matrix column.
    This is my choosefromlist item event code :
                        If pVal.EventType = SAPbouiCOM.BoEventTypes.et_CHOOSE_FROM_LIST Then
                            Dim oEdit As SAPbouiCOM.EditText
                            Dim oCFLEvento As SAPbouiCOM.IChooseFromListEvent
                            oCFLEvento = pVal
                            Dim sCFL_ID As String
                            sCFL_ID = oCFLEvento.ChooseFromListUID
                            Dim oCFL As SAPbouiCOM.ChooseFromList
                            oCFL = oForm.ChooseFromLists.Item(sCFL_ID)
                            If oCFLEvento.BeforeAction = False Then
                                Dim oDataTable As SAPbouiCOM.DataTable
                                oDataTable = oCFLEvento.SelectedObjects
                                'Dim val As String
                                Try
                                    With oForm.DataSources.DBDataSources.Item("@FTACT")
                                        .SetValue("U_Fact", .Offset, oDataTable.GetValue(0, 0))
                                    End With
                                Catch ex As Exception
                                End Try
                                If (pVal.ItemUID = "mtx_13") And (pVal.ColUID = "V_2") Then
                                    Try
                                        oEdit = oForm.Items.Item("V_2").Specific
                                        oEdit.Value = oDataTable.GetValue(0, 0)
                                    Catch ex As Exception
                                    End Try
                                End If
                            End If
                        End If
    Regards.

  • Problem in AddRow button and Matrix

    Hello everybody...
    Can anybody tell me...in my UDO Form AddRow button, matrix is not working...dont understand why???
    But Add and Cancel buttons are working fine...there is no problem in code still I am not able to update values using Matrix...
    See the code below...
    Private Sub SBO_Application_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.ItemEvent
            Try
                ' Events of the Blanket Agreement form
                If (FormUID = "FBLK") Then
                    If (pVal.Before_Action = False) Then
                        ' Click on Add Row
                        If (pVal.ItemUID = "AddRow") And (pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED) Then
                            Dim f As SAPbouiCOM.Form
                            Dim oMatrix As SAPbouiCOM.Matrix
                            f = SBO_Application.Forms.Item(FormUID)
                            oMatrix = f.Items.Item("mat").Specific
                            f.DataSources.DBDataSources.Item(1).Clear()
                            oMatrix.AddRow(1)
                        End If
                        End If
                        End If
      Catch ex As Exception
                    MessageBox.Show(u2018not workingu2019)
      End Try
        End Sub
    Please tell me where I am wrong...
    Thanks in advance

    Hi Satish,
    Thanks for the reply and yes I am using SetFilters and Item Uid is also correct, i have checked....
    See Code below for SetFilters()
    Private Sub SetFilters()
            '// Create a new EventFilters object
            oFilters = New SAPbouiCOM.EventFilters
            '// add an event type to the container
            '// this method returns an EventFilter object
            oFilter = oFilters.Add(SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED)
            oFilter = oFilters.Add(SAPbouiCOM.BoEventTypes.et_COMBO_SELECT)
            oFilter = oFilters.Add(SAPbouiCOM.BoEventTypes.et_VALIDATE)
            oFilter = oFilters.Add(SAPbouiCOM.BoEventTypes.et_LOST_FOCUS)
            oFilter = oFilters.Add(SAPbouiCOM.BoEventTypes.et_KEY_DOWN)
            oFilter = oFilters.Add(SAPbouiCOM.BoEventTypes.et_MENU_CLICK)
            oFilter = oFilters.Add(SAPbouiCOM.BoEventTypes.et_CLICK)
            '// assign the form type on which the event would be processed
            oFilter.AddEx("149") 'Quotation Form
            oFilter.AddEx("139") 'Orders Form
            oFilter.AddEx("133") 'Invoice Form
            oFilter.AddEx("169") 'Main Menu
            SBO_Application.SetFilter(oFilters)
        End Sub
    Now tell me where I am wrong...

  • P55-CD53, how to install SATA AHCI drivers and Matrix Storage Manager?

    Please excuse my noobness as this is for my first PC build and much of it is Greek to me, but could someone please inform/educate me as to what the following drivers (link) are for and which need to be installed after a fresh installation of Windows 7 Pro x64? Do I need to install all of them because some of these appear to be redundant, just from different manufacturers, or am I mistaken? I have a single 500GB HDD but will probably add more down the road.
    JMicron JMB36x IDE Drivers (including floppy driver)
    Description   XP/Vista/Win7 Ver: 17.49.04.WHQL
    Update Date   2009-07-27
    Your System OS   XP/Vista/Win7 32/64bit
    (3989KB)
    Intel P55 AHCI / RAID Drivers
    Description   Ver: 8.9.0.1023
    Update Date   2009-07-24
    Your System OS   XP/Vista/Win7 32/64bit
    (23048KB)
    Intel P55 SATA RAID Driver (For floppy driver)
    Description   Intel P55 SATA RAID driver
    1. Extract the file and Copy all files to the floppy.
    2. Press F6 to install driver through the floppy when booting and loading RAID function.
    Update Date   2009-07-24
    Your System OS   XP/Vista/Win7 32/64bit
    (443KB)
    JMicron IDE/SATA RAID Drivers (with AP)
    Description   XP/Vista Driver Version: 1.17.43.05
    For floppy install:
    Please copy all the directories and files in the "floppy" folder to the root directory of a floppy disk to create a pre-install disk for Win2K/WinXP/Win2003/WinXP 64bits/Win2003 64bits.
    For example,
    A:\amd64
    \x32
    txtsetup.oem
    To enhance IDE transfer speed, we strongly recommend you install JMicron IDE/SATA Driver.
    Update Date   2009-02-23
    Your System OS   Windows Vista 32/64bit
    (4032KB)
    Windows XP 32bit
    (4032KB)
    Intel TPM Device Driver
    Description   Intel Trusted Platform chipset driver
    XP/Vista/Win7: 2.00.0000.00
    Update Date   2007-11-02
    Your System OS   Vista/Win7 32/64bit
    (23KB)
    Windows XP 32bit
    (23KB)
    On a side note, I have already flashed the BIOS to 1.4 using the Forum USB Flashing Tool (thanks!).

    Thanks.
    After booting from the Windows 7 disc, I selected Repair Windows, Load Drivers. Which specific controllers do I need to install for the P55-CD53 MB since there are multiple controllers listed for each of the four SATA compressed files?
    Considering the multiple files and multiple controllers, is there no one out there with a P55-CD53 that has AHCI mode enabled that can give dumbed down instructions on how to do so?
    The manual states "Select the appropriate RAID controller and press enter." Well... which one is the appropriate controller? Am I suppose to load the driver for all the AHCI controllers if that's even possible?
    For the Intel P55 AHCI / RAID Drivers compressed file, these are the controllers available within F6flpy64\iaAHCI.inf:
    Intel(R) ESB2 SATA AHCI Controller
    Intel(R) ICH 10D/DO SATA AHCI Controller
    Intel(R) ICH10R SATA AHCI Controller
    Intel(R) ICH7M/MDH SATA AHCI Controller
    Intel(R) ICH7R/DH SATA AHCI Controller
    Intel(R) ICH8M-E/M SATA AHCI Controller
    Intel(R) ICH8R/DH/DO SATA AHCI Controller
    Intel(R) ICH9M-E/M SATA AHCI Controller
    Intel(R) ICH9R/DO/DH SATA AHCI Controller
    Intel(R) PCH SATA AHCI Controller
    Intel(R) PCHM SATA AHCI Controller 4 Port
    Intel(R) PCHM SATA AHCI Controller 6 Port
    Also, regarding the dual BIOS controls for SATA/IDE/RAID settings previously mentioned, I believe SATA ports 1-6 are controlled via Intel and 7,8 are controlled via Jmicron. Considering my HDD is currently plugged into SATA 1, Jmicron probably isn't necessary for the moment.
    Edit:
    Turns out that none of the drivers for the controllers listed in iaAHCI.inf could be installed. However, I went ahead and installed the drivers listed for all the controllers in iaStor.inf. I reinstalled Windows 7 to get rid of the BSOD. I then installed the chipset drivers and Intel Matrix Storage Manager.

  • User defined Table and matrix problem

    Hi,
    I have a user defined table. I am displaying data from this table using DBdataSource on a matrix in my form. After making changes to a cell on the matrix when i try to save the data back to the data source, the changes are not updated. I am using SBO2004 and using FlushToDataSource method to save the changes.
    Please help.
    Thanks.

    Fabio,
    I disagree with you, FlushtoDataSource does work on user form too.
    Once you use this function, you'll have to open a the userTable object, and save the records from the DBDataSource object to the table using this object.
    Sébastien

  • Screen Painter and Matrix

    In screen painter I am unable to attach the folder with the respective matrix. Please give the complete method to attach the above mentioned.

    Hi Manish,
    I am not too sure what you want to know, but if you want a matrix to be displayed only on a specific folder you should do the following. I am going to show you the code, but you can do parts of it in screenpainter as well. In screen painter you cannot display it like you would at runtime.
    On your matrix you would set the PaneFrom and PaneTo properties. To only set it visible on the first folder:
            Dim oItem As SAPbouiCOM.Item
            Dim oForm As SAPbouiCOM.Form
            oForm = oApplication.Forms.ActiveForm
            oItem = oForm.Items.Item("My_Matrix")
            oItem.FromPane = 1
            oItem.ToPane = 1
    To add the folder you'll have to remember to set the ValOn and ValOff properties:
            Dim oFolder As SAPbouiCOM.Folder
            oFolder = oForm.Items.Item("My_Folder").Specific
            oFolder.Caption = "MyFolder"
            oFolder.DataBind.SetBound(True, "", "UDS_1")
            oFolder.ValOff = 0
            oFolder.ValOn = 1
    To invoke the folder's click event you have to code it manually:
    Private Sub SBO_Application_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean) Handles oApplication.ItemEvent
            If pVal.FormTypeEx = "My_Form" Then
                If pVal.BeforeAction = True Then
                    If pVal.ItemUID = "My_Folder" Then
                        If pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED Then
                            Dim oForm As SAPbouiCOM.Form
                            oForm = oApplication.Forms.ActiveForm
                            oForm.PaneLevel = 1
                        End If
                    End If
                End If
            End If
        End Sub
    Hope it helps,
    Adele

Maybe you are looking for

  • Firefox hangs when I visit a wordpress 3.1 page in a theme and update it

    Hi, I use wordpress 3.1. I use a theme and sometimes (unexpectedly) when I try to update the page firefox hangs. Sometimes I can force quit, sometimes not. Upon restart it signals another version is running, this is not the case. I cannot find the fi

  • Small Office Router RV08/016 or 891 -which appropriate?

    I am not certain this is correct forum, but I doubt sales techs will be able to provide requested info. I am a knowledgable newbie, but not formally trained. After 6 or 7 years, the old Linksys died and am looking to upgrade hardware and inet access.

  • Connecting to an Azure SQL Database from a Windows C# Form

    Hi, Is it possible to connect to an SQL database in Azure from Visual Studio C# 2010 or 2012? If so how is this done. Is it the same as if you were connecting to SQL Express database with the use of a connection string? Any directions or tutorials wo

  • Code i can't get to work

    Once i change one thing and fixed the problem I had another problem came up. any help would be great.     public void main(String[] arg) {         //Like this//Month[]    month = new Month[monthName.length];         //or         //Like this//Month mo

  • What's the average Virtual Machine density with RemoteFX?

    We want to buy a new server for Hyper-V with the necessary hardware to run RemoteFx. The server we are considering is a HP BL460 G8 with a NVidia Grid K1. So we are quite interested to know how many VMs would this server be able to run on average. We