NT 7.31
I have a Form with a Parent Browse and a Child Browse on it. The parent browse is set up for EIP, and the user clicks on a certain field to enter a value. Then, they click the Insert button for the Child Browse to enter detailed info associated with that value. As they complete entering a Child record, we needed for the parent browse to be refreshed so that its conditional CSS to color the row depending on data in the Child records would take effect. Bruce, you provided the following code some time ago to allow the refreshing of the parent browse.
The following code is placed in the Child form's Post Insert/Change/Delete embed:
p_web.setValue('_ParentProc_','EnterEnvelopeContributions')
p_web.DeleteValue('_EIPClm_')
ListEnvContributions(p_web)
Where EnterEnvelopeContributions is the Form that contains the parent and child browse, and ListEnvContributions is the Parent browse.
This approach worked well, until I upgraded to 7.31. Now, after the Child record insert, the parent row does correctly get recolored, but the parent row record id is zeroed out. So, subsequent Child inserts lose its connection to the correct parent record. Also, if you click on another row in the parent browse, the record id is always zero. You have to exit the page and reenter it in order for the row id to be correct. In other words, p_web.GetValue('CTB:SysID') is always zero after the code above is executed.
If we could solve the parent's sysid value from being reset by the code above, then everything would be working great!
Mike Springer