Good Day
Experts:
We have come up with another, well, "sticking" point here with regards to our User-Defined tables that are supplying data to forms. Each field on the form has a datasource attached to it using the following code:
<b> MatReqItem = MatReqForm.Items.Add("txtDocDate", it_EDIT)
MatReqItem.Height = 14
MatReqItem.Left = 106
MatReqItem.Top = 25
MatReqItem.Width = 50
MatReqTextBox = MatReqItem.Specific
MatReqTextBox.DataBind.SetBound(True, "", "U_ReqDate")</b>
Then, in a seperate subroutine, the field type and length is defined for that datasource using:
<b>MatReqForm.DataSources.UserDataSources.Add("U_ReqDate", SAPbouiCOM.BoDataType.dt_DATE, 8)</b>
Situations have come about where that type and definition does not match what is in the User-Defined field deifnition. Is there a way to "say" use what is in the User-Defined field definition so it does not have to be "told" in the code?
Thanks,
Ed