I am attempting to create a new tab with a grid for a BAQ view in Part Tracker. After using the resources in this forum with examples, I have everything in place; however, when I test the code it returns a compile failed error. I am very much a neophyte to c# custom code writing and any suggestions are greatly appreciated!
Dear jharrington
EpiTextBox txtPartNum = (EpiTextBox)csm.GetNativeControlReference(“Copy Guid and Paste Here”);
String PartNum = txtPartNum.Text;
Or
EpiDataView edvHed = (EpiDataView)oTrans.EpiDataViews[“Part”];
System.Data.DataRow edvHedRow = edvHed.CurrentDataRow;
if (edvHedRow != null)
{
string PartNum = edvRow[“PartNum”].ToString();
}
Thank you very much for the information. It is most appreciated!
Cheers!
I have taken your suggestion and applied it to my existing code, but after I added the very last line to pull in and populate the grid, I receive a compile error. Am I missing a custom assembly reference?
[] not ().
That did the trick Brandon. Something as simple as brackets! Thank you very much!
J.