Me again. I have a form that is using the Browse Dialog to locate records. This form also has a DataGridView that holds the contacts for the current Advisor. This Code works fine:
{
boAdvisorContacts.GetAdvisorContacts(boAdvisor.advisor_pk);
}
However, when these 2 methods are left uncommented, they put me into an infinite loop - any ideas about why this is happening? I have another form that uses similar code to update the child records in the grid and there are no problems with it - the only difference between the two forms is that the one that works does not use the Browse Dialog. Here are the methods that are causing the problems:
// if (!boAdvisor.IsEmpty)
// boAdvisorContacts.GetAdvisorContacts(boAdvisor.advisor_pk);
// {
// if (boAdvisor.EditingState == MicroFour.StrataFrame.Business.BusinessEditingState.Idle)
// grdContacts.Enabled = false;
// else
// grdContacts.Enabled = true;
// }
TIA