on 04-17-2012 6:43 AM
hi am trying to get value in find text box on pressing enter key.But i get value as 248 instead of value in enter..I tried two methods but both yielded the same result.Please help.This is the code i tried
oItem = oForm.Items.Item("8"); //8 is the value of text box
string val= oForm.Items.Item("8").Specific.Value;
SAPbouiCOM.EditText edComments;
edComments = (SAPbouiCOM.EditText)oForm.Items.Item("8").Specific;
string strVal = edComments.Value;
string val= oForm.Items.Item("8").Specific.Value;
Try to remove .Value
string val= oForm.Items.Item("8").Specific;
Or
Dim oStr as SAPbouiCOM.EditText = oForm.Items.Item("8").Specific
MsgBox(oStr)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
109 | |
15 | |
10 | |
5 | |
4 | |
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.