<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3199" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=609113519-29102007><FONT face=Arial
color=#0000ff size=2>On an ADD UPDATE, QTP attempts to retrieve during the
initialization phase. If no record is retrieved, it will attempt to add during
the output phase. If a record was retrieved, it will attempt to
update.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=609113519-29102007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=609113519-29102007><FONT face=Arial
color=#0000ff size=2>Guy's suggestion is one possible (and common) cause
of an add failure. </FONT></SPAN><SPAN class=609113519-29102007><FONT face=Arial
color=#0000ff size=2>And he's right, sending the code will help us isolate the
problem or at least suggest some very specific possible
causes.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=609113519-29102007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=609113519-29102007><FONT face=Arial
color=#0000ff size=2>Bob</FONT></SPAN></DIV><BR>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B>
powerh-l-bounces+bob.deskin=cognos.com@lists.sowder.com
[mailto:powerh-l-bounces+bob.deskin=cognos.com@lists.sowder.com] <B>On Behalf
Of </B>Guy Werry<BR><B>Sent:</B> October 29, 2007 3:34 pm<BR><B>To:</B>
powerh-l@lists.sowder.com<BR><B>Subject:</B> RE: Yet Again, QTP Failure:
OUTPUT --> ADD UPDATE<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=145533019-29102007>Vamshi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=145533019-29102007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=145533019-29102007>I believe that I have had a similar problem when the
input phase returns MORE THAN ONE record complex.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=145533019-29102007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=145533019-29102007>It would be very helpful if you could include a
screen shot of the code and error. That might make it easier to
diagnose.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=145533019-29102007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=145533019-29102007>Thanks,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=145533019-29102007>
<P><FONT size=2>Guy L. Werry<BR>Senior Systems Analyst<BR>Hudson Bay Mining
& Smelting Co., Limited. </FONT></P></SPAN></FONT></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B>
powerh-l-bounces+guy.werry=hbms.ca@lists.sowder.com
[mailto:powerh-l-bounces+guy.werry=hbms.ca@lists.sowder.com] <B>On Behalf Of
</B>vamsi krishna<BR><B>Sent:</B> Monday, October 29, 2007 2:12
PM<BR><B>To:</B> powerh-l@lists.sowder.com<BR><B>Subject:</B> Yet Again, QTP
Failure: OUTPUT --> ADD UPDATE<BR></FONT><BR></DIV>
<DIV></DIV>Hello All,<BR><BR>I'd seen a case where the QTP program failed
.<BR>It was something like<BR><SPAN style="FONT-WEIGHT: bold">Output xyz add
update</SPAN><BR><BR>how a QTP can fail with error message "Failed to add when
a Unique Key/Index was specified" <BR>What I understand from OUTPUT --->Add
Update is QTP tries to add first, if the records exists, it updates the record
with new values, and if this is the case, how could such a QTP
Fail!<BR><BR><BR>Please let me know if you if it's something else.
<BR><BR>Thanks in advance :-D<BR><BR>Regards, <BR>Vamsi<BR clear=all><BR>--
<BR>"Nothing is impossible as impossible itself says i m possible" The
information in this e-mail and any attachments is confidential and may be
subject to legal professional privilege. It is intended solely for the
attention and use of the named addressee(s). If you are not the intended
recipient, or person responsible for delivering this information to the
intended recipient, please notify the sender immediately. Unless you are the
intended recipient or his/her representative you are not authorised to, and
must not, read, copy, distribute, use or retain this message or any part of
it. </BLOCKQUOTE></BODY></HTML>