Skip to Content
0
Former Member
Sep 14, 2011 at 11:30 AM

Fill EditText (Date)

855 Views

Hello,

i will fill a Edittext ( Date) from the database.

Now i get an Error that i have a wrong Datetype....

this is my code how the Error occured.

oItem = oForm.Items.Item("Datum" + m);

oEditText = (SAPbouiCOM.EditText)(oItem.Specific);

oEditText.Value = orec.Fields.Item(1).Value.ToString();

I tried to Convert in DateTime , but that also did not work.

In the Database its a Datefield.

THANKS

Dhomas