ttss82
26th February 2002, 14:45
I allready used stpapi.put.field and stpapi.find so this is
set correctly and my current record is set correctly.
I try to retrieve Item description. The problem is the following code in VB:
dim BaanSess as string = "tiitm0101m000"
dim SessField as string = "tiitm001.dsca"
dim ItemDsecription as string = space(30)
BaanObj.ParseExecFunction("ottstpapihand", "stpapi.get.field(" & Chr(34) & BaanSess & Chr(34) & "," & Chr(34) & SessField & Chr(34) & "," & Chr(34) & ItemDescription & Chr(34) & ")")
Field ItemDescription remains empty after this call.
However, if I use
ItemDescription = BaanObj.FunctionCall
I get following result:
ItemDescription = "stpapi.get.field("tiitm0101m000","tiitm001.dsca","W.NR.1.2379 P-PAL*250X20")"
My question is, how can I retrieve the actual value of
tiitm001.dsca which is "W.NR.1.2379 P-PAL*250X20"?
Thanks in advance!
set correctly and my current record is set correctly.
I try to retrieve Item description. The problem is the following code in VB:
dim BaanSess as string = "tiitm0101m000"
dim SessField as string = "tiitm001.dsca"
dim ItemDsecription as string = space(30)
BaanObj.ParseExecFunction("ottstpapihand", "stpapi.get.field(" & Chr(34) & BaanSess & Chr(34) & "," & Chr(34) & SessField & Chr(34) & "," & Chr(34) & ItemDescription & Chr(34) & ")")
Field ItemDescription remains empty after this call.
However, if I use
ItemDescription = BaanObj.FunctionCall
I get following result:
ItemDescription = "stpapi.get.field("tiitm0101m000","tiitm001.dsca","W.NR.1.2379 P-PAL*250X20")"
My question is, how can I retrieve the actual value of
tiitm001.dsca which is "W.NR.1.2379 P-PAL*250X20"?
Thanks in advance!