<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2657.73">
<TITLE>arghh, the dreaded Record has been changed since you found it.</TITLE>
</HEAD>
<BODY>
<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">I</FONT><FONT SIZE=2 FACE="Arial">'</FONT><FONT SIZE=2 FACE="Arial">m getting this error in QTP. I could have sworn I</FONT><FONT SIZE=2 FACE="Arial">'</FONT><FONT SIZE=2 FACE="Arial">ve used this structure before to dodge it.</FONT></P>
<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">The T_ variables are global temps.</FONT></P>
<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">I</FONT><FONT SIZE=2 FACE="Arial">'</FONT><FONT SIZE=2 FACE="Arial">m getting the error on invest_cur_book. I</FONT><FONT SIZE=2 FACE="Arial"> know that i</FONT><FONT SIZE=2 FACE="Arial">nvestment is getting updated because</FONT><FONT SIZE=2 FACE="Arial"> investment_status is</FONT> <FONT SIZE=2 FACE="Arial">getting</FONT><FONT SIZE=2 FACE="Arial"> updated.</FONT><FONT SIZE=2 FACE="Arial"> Fund_#, investment_# are unique in each file.</FONT></P>
<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">I cannot just put the if</FONT> <FONT SIZE=2 FACE="Arial">condition</FONT> <FONT SIZE=2 FACE="Arial">for t_batch_ap_ad on the item statement for</FONT> <FONT SIZE=2 FACE="Arial">invest_cur_book because it</FONT><FONT SIZE=2 FACE="Arial">'</FONT><FONT SIZE=2 FACE="Arial">s actually a lot more complex than this and I</FONT><FONT SIZE=2 FACE="Arial">'</FONT><FONT SIZE=2 FACE="Arial">ve cut it down for brevity. I pretty much need two separate outputs for the investment file.</FONT></P>
<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">8.40.E on VMS.</FONT></P>
<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">Pseudo-code:</FONT></P>
<P ALIGN=LEFT><FONT SIZE=2 FACE="r_ansi">ACCESS BATCH_DTL &</FONT></P>
<P ALIGN=LEFT><FONT SIZE=2 FACE="r_ansi"> LINK FUND_# OF BATCH_DTL, &</FONT></P>
<P ALIGN=LEFT><FONT SIZE=2 FACE="r_ansi"> INVESTMENT_# OF BATCH_DTL &</FONT></P>
<P ALIGN=LEFT><FONT SIZE=2 FACE="r_ansi"> TO FUND_#, &</FONT></P>
<P ALIGN=LEFT><FONT SIZE=2 FACE="r_ansi"> INVESTMENT_# OF INVESTMENT &</FONT></P>
<P ALIGN=LEFT><FONT SIZE=2 FACE="r_ansi"> LINK FUND_# OF INVESTMENT, &</FONT></P>
<P ALIGN=LEFT><FONT SIZE=2 FACE="r_ansi"> INVESTMENT_# OF INVESTMENT &</FONT></P>
<P ALIGN=LEFT><FONT SIZE=2 FACE="r_ansi"> VIAIND SUBSCRIPTION TO *SF$INFO &</FONT></P>
<P ALIGN=LEFT><FONT SIZE=2 FACE="r_ansi">CHOOSE BATCH_# SYSTEM SYM "T_BATCH_NBR"</FONT></P>
<P ALIGN=LEFT><FONT SIZE=2 FACE="r_ansi">OUTPUT INVESTMENT UPDATE &</FONT></P>
<P ALIGN=LEFT><FONT SIZE=2 FACE="r_ansi"> IF T_BATCH_AP_AD = "N"</FONT></P>
<P ALIGN=LEFT><FONT SIZE=2 FACE="r_ansi"> ITEM INVESTMENT_STATUS OF INVESTMENT = &</FONT></P>
<P ALIGN=LEFT><FONT SIZE=2 FACE="r_ansi"> "1" &</FONT></P>
<P ALIGN=LEFT><FONT SIZE=2 FACE="r_ansi"> IF T_DO_ESCROW = "Y" &</FONT></P>
<P ALIGN=LEFT><FONT SIZE=2 FACE="r_ansi"> ELSE "E"</FONT></P>
<P ALIGN=LEFT><FONT SIZE=2 FACE="r_ansi">OUTPUT INVESTMENT UPDATE &</FONT></P>
<P ALIGN=LEFT><FONT SIZE=2 FACE="r_ansi"> ALIAS INVEST_CUR_BOOK &</FONT></P>
<P ALIGN=LEFT><FONT SIZE=2 FACE="r_ansi"> VIA FUND_# OF INVEST_CUR_BOOK, &</FONT></P>
<P ALIGN=LEFT><FONT SIZE=2 FACE="r_ansi"> INVESTMENT_# OF INVEST_CUR_BOOK &</FONT></P>
<P ALIGN=LEFT><FONT SIZE=2 FACE="r_ansi"> USING FUND_# OF BATCH_DTL, &</FONT></P>
<P ALIGN=LEFT><FONT SIZE=2 FACE="r_ansi"> INVESTMENT_# OF BATCH_DTL &</FONT></P>
<P ALIGN=LEFT><FONT SIZE=2 FACE="r_ansi"> IF T_DO_ESCROW = "Y"</FONT></P>
<P ALIGN=LEFT><FONT SIZE=2 FACE="r_ansi"> ITEM CUR_BOOK_VALUE OF INVEST_CUR_BOOK FINAL &</FONT></P>
<P ALIGN=LEFT><FONT SIZE=2 FACE="r_ansi"> TOT_CAP_DTL OF SF$INFO</FONT></P>
<P><FONT SIZE=2 FACE="Arial">NOTICE: The information contained in this e-mail and any attachments is confidential and may be privileged or otherwise protected from disclosure. This e-mail is intended solely for the use of the named addressee. Any other use, printing, copying, disclosure or dissemination may be subject to legal restriction. If you are not the intended recipient, please contact the sender and delete all copies including any attachments.</FONT></P>
</BODY>
</HTML>