on 01-23-2009 12:15 PM
Hi All,
In my form i am using No object table in this i am trying to add the time to the table. But it is added as '0'. My Code Follows:-
PSSIT_PEY2.UserFields.Fields.Item("U_Frtime").Value = oLFromTimeEdit.Value
PSSIT_PEY2.UserFields.Fields.Item("U_Totime").Value = oLToTimeEdit.Value
How can added the time correctly?
Thanks in Advance.
Regards,
Madhavi
Hi,
PSSIT_PEY2.UserFields.Fields.Item("U_Frtime").Value = oLFromTimeEdit.String // instead of value
PSSIT_PEY2.UserFields.Fields.Item("U_Totime").Value = oLToTimeEdit.String // instead of value
in SBO, the time should be entered at UI is in format like 1100 or 1230 or 1320.
and check while creating the UDF, the default value should not be 0.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Madhavi,
Please check the data type of your UDFs. Are they of Date and Time type.
SAPbobsCOM.BoFieldTypes.db_Date & SAPbobsCOM.BoFldSubTypes.st_Time
I think your UDFs are of integer type.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
10 | |
6 | |
5 | |
5 | |
4 | |
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.