Bruce,
I have a browse listing institutions (Ins:InstID_Key). There is an inline button at the end that calls another procedure, filtered by the Institution ID. The called procedure displays the institution name in the sub header. Please see the attached image.
If I first click a row, then the button at the end of the row, the sub header in the called procedure displays the correct institution. However, if I open the browse and immediately click on one of the buttons without clicking on a row, it does not get the correct institution. It seems the button does not actually know what row it is in. I have the following code in the "user Clicked on a row in the browse embed"
Ins:Institution_ID = p_web.GSV('Ins:Institution_ID')
Set(Ins:InstID_key, Ins:InstID_key)
Access:Institution.Fetch(Ins:InstID_key)
p_web._LoadRecord(Institution, Ins:InstID_key)
p_web.FileToSessionQueue(Institution)
p_web.SSV('IName', Ins:Institution_Name)
This sets a session variable with the name of the institution, so it can be set in the sub header of the called procedure. I would like to make this work by just clicking on the button at the end of each browse row. I have tried many other embeds but so far have not found a way. Can you suggest something?
Thanks,
Jeff
[attachment deleted by admin]