on 10-20-2008 2:53 PM
Hi to all,
I use a code such this:
lFrm.DataSources.UserDataSources.Add("DataI", SAPbouiCOM.BoDataType.dt_DATE)
to format the text in an EditText in Date format.
How I can format the text of an EditText in TIME format?
Luke
I'll try with a function that format time on EditText LostFocus, because I haven't a Db Field...
Thanks, Luke.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Luke,
EditText Time works only in UDO.
when you bind the field / column to the UDO field of type Time it will work and you have the ":" effect.
without UDO form you have to deal with a shortnumber and your own logic
lg David
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
You have Time datatype when bind data to dbdatasource of type DataTime/Time.
<databind databound="1" table="@USER_TABLE" alias="U_TIME" />
If you use userdatasource, try to use dt_SHORT_NUMBER.
Regards
Sierdna S.
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.