Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is is possible to add new column to standard table?

Status
Not open for further replies.

bryan1207

Programmer
Mar 7, 2018
28
PH
Is is possible to add new column to standard table like OEORDD? I'm converting the old system to c# and noticed that there are two new columns on OEORDD table based from this site:
New columns named: PDTLNUM and PARENTUNIQ

In the source code they are using like this:
Code:
vOEORDD.Fields.FieldByName["PARENTUNIQ"].PutWithoutVerification(vOEORDDParent.Fields.FieldByName["ORDUNIQ"].get_Value());
vOEORDD.Fields.FieldByName["PDTLNUM"].PutWithoutVerification(vOEORDDParent.Fields.FieldByName["DETAILNUM"].get_Value());

But when I'm running it to my project solution. I'm getting the COM error.
Code:
Error HRESULT E_FAIL has been returned from a call to a COM component.

I've query the OEORDD table and those fields are existing.
Capture_f2njym.jpg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top