Good Day
Experts:
Last night Owen helped out with my original post below concerning datasources and field definitions. Excellent...I know now that those field definitions are held in the CUFD table. We are in a bind here today and I was curious if there was any kind of "object" that I can use to "tell" the datasource field to take on the attributes of the table field definition?
Anyway to help speed this process would be great...
Thanks,
Ed
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