Hi there,
I would like to create a button that can pull the History View from Chart and display it on the screen. My experience with VFE is very limited, but I know how to pull a handout and display that on the screen. May I ask if I could do something similar with the History View?
Thanks
Simon
History views are basically custom formatted handout in reality on the back-end side.
you can pull the coding from one of the history view and just add the coding to a handout and will work almost the same with some differences on the formatting.
In some instance you will probably have to customized the formatting once you copy them from the history view to a handout
I use this in a data display to show family history:
{!fn fnDisplayFamHx(rtntype,firekey) {
local hold = getfield(MEL_LIST_FHX_AFTER("delimited", "active"), "|", "")
local temp
local rslt = ""
for i = 1, i <= size(hold), i = i + 1 do
temp = getfield(hold[i], "^", "")
if (rslt <> "") then
rslt = rslt + rtntype
endif
rslt = rslt + temp[5] + ": " + temp[3] + (if temp[11] <> "" then " - " else "" endif) + temp[11] + "
"
endfor
return rslt
}}
Hope that helps