Good afternoon,
Thank you in advance for your support.
Is there a way that I can select a date and print on a Handout the Obs Values from that Document Date?
I'm trying than the user could print a "form" from that document.
Thank you!!
Are you looking for all OBS from a specific day, or only a specific few OBS from a day?
Either way, probably will use something like the following, which shows the date of ten most recent LDL tests:
{local sA1, a1, a2=0, a3="", s1="", i=0, imax=0, j=1
local dlm="; "
sA1 = getfield(LIST_OBS("LDL","signed","list","valuedate"),")",HRET)
if size(sA1)<=10 then imax = size(sA1) else imax = 10 endif
s1=""
for i=1,i<imax,i=i+1 do
a1 = getfield(str(sA1[i])," ","")
a1[2] = sub(a1[2],2)
s1 = s1 + a1[2] + ", "
endfor
s1 = s1 + HRET
s1}
Thank you so much!!
I'm testing this solution, I think it will meet the need.
Again thank you!!