Skip to Content
Jul 22, 2019 at 03:02 PM

How Can I display date in filed of date in SAP B1 SDK?

462 Views Last edit Jul 23, 2019 at 03:44 AM 2 rev

Hi all,

I know how to display value in field of matrix in SAP B1 SDK, but I tried to display date in date field I failed, Below is my code I tried but there is no luck

mtx2.Columns.Item("C_1_5").Cells.Item(mtx2.RowCount).Specific.string = FromDate 'this is variable of date from database

Above codes fail when I run


mtx2.Columns.Item("C_1_5").Cells.Item(mtx2.RowCount).Specific.string = Format(FromDate, "dd/MM/yyyy")

Above codes display nothing in the field

Please anyone can help me