Hello,
I have the following code:
DataSet dsCustomerAdapter = SearchFunctions.listLookup(oTrans, *"CustomerAdapter"*, out recSelected, showSearchWindow, whereClause);
if (recSelected)
{
int custNum=0;
System.Data.DataRow adapterRow = dsCustomerAdapter.Tables[0].Rows[0];
// Map Search Fields to Application Fields
try
{
if (!int.TryParse(adapterRow["CustNum"].ToString(), out custNum)) custNum = 0;
if (custNum > 0)
{
numericCustNum.Value = custNum;
try{
txtCustID.Text = adapterRow["CustId"].ToString();
if (string.Compare(lastCustID, txtCustID.Text.Trim(), true)!=0)
{
txtShiptoNum.Text="";
lastCustID = txtCustID.Text;
btnSearch_Click(txtCustID, new System.EventArgs());
}
}
catch{}
}
}
I do not have any errors, however, when the code is run, it just keep going and not returning any results. What I would like to know, how do I view or edit the “CustomerAdapter” adapter to see if it needs to be corrected as it is coming from E9 to E10??
Thanks.