Hi Cindy,
Sorry to be such a pain. Here is the "real code"! I was
trying to figure out a way to not have to retype the whole
thing. Finally did!
Thanks for anything you can do.
patty
{ IF { MERGESEQ } = "1" "
License Amendments { MERGEFIELD StatusDescription} "" }{
SET Year1 { MERGEFIELD status1 } }{ If { Year2 } <> {
Year1 } "
License Amendments
{ MERGEFIELD StatusDescription}
{ MERGEFIELD affected_sites }
NSSS: { IF { MERGEFIELD peer_group_id } = 1 "Combustion
Engineering" "" }{ IF { MERGEFIELD peer_group_id } =
2 "Combustion Engineering" "" }{ IF { MERGEFIELD
peer_group_id } = 3 "General Electric" "" }{ IF {
MERGEFIELD peer_group_id } = 4 "General Electric" "" }{ IF
{ MERGEFIELD peer_group_id } = 5 "B&W" "" }{ IF {
MERGEFIELD peer_group_id } = 6 "Westinghouse" "" }{ IF {
MERGEFIELD peer_group_id } = 7 "Westinghouse" "" }{ IF {
MERGEFIELD peer_group_id } = 8 "Westinghouse" "" }{ IF {
MERGEFIELD peer_group_id } = 9 "Westinghouse" "" }{ IF {
MERGEFIELD peer_group_id } = "R" "Retired" "" }
EXIGENT/EMERGENCY: { IF { MERGEFIELD exigentemergency } =
0 "No" "Yes" }
ISTS: { MERGEFIELD ISTS }
SUBMITTAL DATE: { MERGEFIELD "submittal_date1" }{
MERGEFIELD SubDate_String }
STATUS: { MERGEFIELD status1 } { IF { MERGEFIELD status2 }
<> "" ", " "" }{ MERGEFIELD status2 }
NRC APPROVAL DATE: { MERGEFIELD final_date1 } { IF {
MERGEFIELD final_date2 } <> "" ", " "" }{ MERGEFIELD
final_date2 }
Amendment No(s): { MERGEFIELD AmendNos }
Record No.: { MERGEFIELD recnum }
{ HYPERLINK "
http://www.nusis.com/sd_cgi-bin/om_isapi.dll?
&advquery=%5bfield%20recnum%3a { MERGEFIELD recnum } %
5d&recordswithhits=on&headingswithhits=on&infobase=amend.nf
o&softpage=Browse_Frame_Pg42&x=4 2&y=19&zz= " }
{ MERGEFIELD Description } " "
{ MERGEFIELD affected_sites }
NSSS: { IF { MERGEFIELD peer_group_id } = 1 "Combustion
Engineering" "" }{ IF { MERGEFIELD peer_group_id } =
2 "Combustion Engineering" "" }{ IF { MERGEFIELD
peer_group_id } = 3 "General Electric" "" }{ IF {
MERGEFIELD peer_group_id } = 4 "General Electric" "" }{ IF
{ MERGEFIELD peer_group_id } = 5 "B&W" "" }{ IF {
MERGEFIELD peer_group_id } = 6 "Westinghouse" "" }{ IF {
MERGEFIELD peer_group_id } = 7 "Westinghouse" "" }{ IF {
MERGEFIELD peer_group_id } = 8 "Westinghouse" "" }{ IF {
MERGEFIELD peer_group_id } = 9 "Westinghouse" "" }{ IF {
MERGEFIELD peer_group_id } = "R" "Retired" "" }
EXIGENT/EMERGENCY: { IF { MERGEFIELD exigentemergency } =
0 "No" "Yes" }
ISTS: { MERGEFIELD ISTS }
SUBMITTAL DATE: { MERGEFIELD "submittal_date1" }{
MERGEFIELD SubDate_String }
STATUS: { MERGEFIELD status1 } { IF { MERGEFIELD status2 }
<> "" ", " "" }{ MERGEFIELD status2 } NRC APPROVAL DATE: {
MERGEFIELD final_date1 } { IF { MERGEFIELD final_date2 }
<> "" ", " "" }{ MERGEFIELD final_date2 }
Amendment No(s): { MERGEFIELD AmendNos }
Record No.: { MERGEFIELD recnum }
{ HYPERLINK "
http://www.nusis.com/sd_cgi-bin/om_isapi.dll?
&advquery=%5bfield%20recnum%3a { MERGEFIELD recnum } %
5d&recordswithhits=on&headingswithhits=on&infobase=amend.nf
o&softpage=Browse_Frame_Pg42&x=4 2&y=19&zz= " }
{ MERGEFIELD Description } " }
{ SET Year2 { MERGEFIELD status1 } }