This is a multi-part message in MIME format.
------=_NextPart_000_0080_01C85169.03EB0910
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
"Aggrevated" <tclement@[EMAIL PROTECTED]
> wrote in message =
news:7779c5c2-9567-4e1e-8de9-b1f271e629bd@[EMAIL PROTECTED]
OK. So the string part evaluates fine, however I get:
IF asm_mbr_part_no =3D=3D "30681"
qnty =3D "1.5"
else
qnty =3D rpt.qty
=01error=02Invalid number in relation.
endif
If i take out the else part it works fine. it doesn't like the qnty =
=3D
rpt.qty part
I tried qnty =3D itos(rpt.qty) but that doesn't work.
funny that I had to use asm_mbr_part_no insteasd of asm.mbr.part_no
like I would expect (parameter is part_no) but it won't take rpt_qty
says it's invalid
what am I doing wrong?
You know, I was going to check this when I got to work today because =
there are syntax or syntax-related issues with getting this to work =
correctly. For example, I'm thinking that maybe the rpt.qty after the =
equals sign in the else statement might need to be enclosed in quotes as =
well. I'll try to remember to check.
Otherwise, why are you using asm_mbr_part_no? Isn't this a parameter? =
Why not use asm_mbr_part_name, the file name of the part/component? This =
is automatically a string 'parameter'.
David Janes
------=_NextPart_000_0080_01C85169.03EB0910
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.3243" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Aggrevated" <<A=20
href=3D"mailto:tclement@[EMAIL PROTECTED]
">tclement@[EMAIL PROTECTED]
>> wrote in =
message=20
<A=20
=
href=3D"news:7779c5c2-9567-4e1e-8de9-b1f271e629bd@[EMAIL PROTECTED]
">news:7779c5c2-9567-4e1e-8de9-b1f271e629bd@[EMAIL PROTECTED]
>...</DIV>OK. =20
So the string part evaluates fine, however I get:<BR><BR>IF =
asm_mbr_part_no =3D=3D=20
"30681"<BR>qnty =3D "1.5"<BR>else<BR>qnty =3D =
rpt.qty<BR>=01error=02Invalid number in=20
relation.<BR>endif<BR><BR>If i take out the else part it works =
fine. it=20
doesn't like the qnty =3D<BR>rpt.qty part<BR><BR>I tried qnty =
=3D=20
itos(rpt.qty) but that doesn't work.<BR><BR>funny that I had to use=20
asm_mbr_part_no insteasd of asm.mbr.part_no<BR>like I would expect =
(parameter=20
is part_no) but it won't take rpt_qty<BR>says it's invalid<BR><BR>what =
am I=20
doing wrong?</BLOCKQUOTE><BR>
<DIV>You know, I was going to check this when I got to work today =
because there=20
are syntax or syntax-related issues with getting this to work correctly. =
For=20
example, I'm thinking that maybe the rpt.qty after the equals sign in =
the else=20
statement might need to be enclosed in quotes as well. I'll try to =
remember to=20
check.</DIV>
<DIV> </DIV>
<DIV>Otherwise, why are you using asm_mbr_part_no? Isn't this a =
parameter? Why=20
not use asm_mbr_part_name, the file name of the part/component? This is=20
automatically a string 'parameter'.</DIV>
<DIV> </DIV>
<DIV>David Janes</DIV></BODY></HTML>
------=_NextPart_000_0080_01C85169.03EB0910--


|