Bruce,
Thanks! Using one form, with a browse and the makeshift side-menu has worked. Now the menu to the right stays put.
My next chore is to not display these menu buttons to the right if there are no records in the browse. I have set a total on the first column of the browse. My thought was that if this is zero (0) then I would set a session variable called 'EmptyBrowse' to 'Yes'. I do this in the After Browse, Before buttons embed as recommended by you in another NT Central post. My code here is:
If Loc:Total[1] = 0
p_web.SSV('EmptyBrowse', 'Yes')
Else
p_web.SSV('EmptyBrowse', 'No')
END
Then in the "hide" template entry for the buttons, I place p_web.GSV('EmptyBrowse') = 'Yes'
This does not work, I have tried many different embeds. I suspect a timing issue, where the Loc:Total
- variable is not set before the menu buttons are created and displayed. Any thoughts?
Thanks,
Jeff