Notifications
Clear all
Topic starter
I have a Quick Text called .dvt
Based on radio button click i want to set
OBSNOW("TEST", .dvt)
this does not work for me.
What am I doing wrong?
Thanks.
Posted : January 29, 2013 6:25 am
quick text results are meant to populate an MLEF or the text note itself. try setting a hidden MELF field to the quick text results. you can tie the hidden MELF to an obs term.
Posted : January 29, 2013 6:38 am
Topic starter
Based on your response I created a button and call function below
{
!fn DisplayHPI(){
textQT = ""
textQT = .dvt
if (DOCUMENT.DVTPE <> "") then
userok(".dvt=" + textQT + ";end") ==> shows emtpy textQT
OBSNOW("HPI", textQT) ==> assigns empty string ""
else
""
endif
}
}
Could you point mistakes here?
Thanks.
Posted : January 29, 2013 7:19 am
I've never called quicktext from an action button, but I know I saw a topic about it on this website. You'll have to do some footwork to find it yourself, unless someone else can help.
Posted : January 29, 2013 7:39 am
