OK, below is true, but is still doesn't give me XQADATA. Any easy way to get this restored?
KEvin On 2/15/06, Kevin Toppenberg <[EMAIL PROTECTED]> wrote: > I figured it out. The XQAID has to be the trip-part alert id > described for DELETE^XQALERT. > > Poor documention, IMHO. > > Thanks > Kevin > > > On 2/15/06, Kevin Toppenberg <[EMAIL PROTECTED]> wrote: > > Actually, I still need some more information. > > > > How do I get at the information stored for a particular alert? I.e. > > when it is processed, the variable XQADATA is restored before calling > > the specified handler. > > > > By examing the globals, I can see that this is stored in field 1 in > > the multiple field 1 in the Alert record. But hopefully there is a > > better way to get the info. > > > > Thanks > > Kevin > > > > p.s. I just noticed: > > USERDATA^XQALBUTL(xqaid,xqauser,root) > > > > but I don't understand the instructions for XQAID: > > > > xqaid: > > > > (required) This is the value xqaid that is the alert identifier. It is > > passed to the routine or option that is run when the alert is > > selected. It can also be obtained from a listing of all of the xqaid > > values for a specified user and/or patient. > > > > I think that the XQAID that I supplied before was "TMG", but when I > > try this function out, I get no results back. > > > > Thanks > > Kevin > > > > > > > > On 2/15/06, Kevin Toppenberg <[EMAIL PROTECTED]> wrote: > > > Thanks Greg, I think I can get it from there. > > > > > > Thanks. > > > Kevin > > > > > > > > > On 2/15/06, Greg Woodhouse <[EMAIL PROTECTED]> wrote: > > > > If you want information about your alterts (only), try > > > > > > > > D USER^XQALERT($NA(^TMP($J,"ALERTS")),DUZ) > > > > > > > > Kevin Toppenberg <[EMAIL PROTECTED]> wrote: > > > > > > > > When I later go to delete such an alert, I will know the package > > > > identifier (I think in my case it is that "TMG" I put into XQAID, and > > > > will know the DUZ. But that creation time is the problem. > > > > > > > > Does everyone keep track of the time that they make an alert, so they > > > > can later delete it? Isn't there another way? What if I store the > > > > time of the error creation (obtained by $$NOW^XLFDT), but there is a > > > > change in the seconds between when I ask for the current time, and > > > > when I ask for the creation of the alert? > > > > > > > > > > > > > > > > === > > > > Gregory Woodhouse <[EMAIL PROTECTED]> > > > > "All truth passes through three stages: First , it is ridiculed. > > > > Second, it is violently opposed. Third, it is accepted as > > > > being self-evident." > > > > --Arthur Schopenhauer > > > > > > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members