on 05-26-2006 9:01 AM
In Batch Selection Number, I found that Auto Select Button only select single batch. Can I add a button to allow user select all batch on standards form?
Hi Kok,
The auto select button, selects batches starting from the first one until there are enough items.
So if you want 10 items and the first batch only has 8 it selects 8 items from the first and the remainder from the second.
A button to allow a user to select all batches is not neccesary I think, because the user can select every batch the user wants and he can never select more items than in the itemline.
Regards
Ad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kok,
I Think that what you want is possible.
the button should do the following:
for each line in the top matrix
- select the line (oform.items.item("3").specific.selectrow(row, true,false)
- press the autoselect button (oform.items.item("16").specific.click)
- press the update/ok button (item "1") (oform.items.item("1").click
I hope this helps you.
Regards
Ad
I try following code:
If pVal.Before_Action = False And pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED Then
If pVal.ItemUID = "AutoSelect" Then
'SBO_Application.MessageBox("You click on new added button")
Dim oMatrix As SAPbouiCOM.Matrix
oMatrix = SBO_Application.Forms.Item(FormUID).Items.Item("38").Specific
'SBO_Application.Forms.Item(FormUID).Items.Item(38).Specific.Selectrow(1, True, False)
oMatrix.SelectRow(1, True, False)
End If
End If
but I can not manage to get the row being highlighted and selected?
User | Count |
---|---|
96 | |
10 | |
9 | |
5 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.