A
Andreas
Hello,
I have a pass-through query (seen below). The field
"fpmcaps.x_fpmrequestdata.data" is kind of a data blob that contains
various fields. I am trying to split the blob (see middle section), but
access gives me the error message that the right parenthesis is
missing.
SELECT fpmcaps.x_fpmrequest.receivername,
fpmcaps.x_fpmrequestdata.data,(fpmcaps.x_fpmrequest.settlementamount/100)
AS Amount, fpmcaps.x_fpmrequest.sendername AS sender,
IIf(InStr(1,fpmcaps.x_fpmrequestdata.data,'<beneficiaryName>')=0,Null,Mid(fpmcaps.x_fpmrequestdata.data,(InStr(1,fpmcaps.x_fpmrequestdata.data,'<beneficiaryName>')+17),(InStr(1,fpmcaps.x_fpmrequestdata.data,'</beneficiaryName>')-(InStr(1,fpmcaps.x_fpmrequestdata.data,'<beneficiaryName>')+17))))
AS BeneName
FROM fpmcaps.x_fpmrequest INNER JOIN fpmcaps.x_fpmrequestdata ON
fpmcaps.x_fpmrequest.inputid = fpmcaps.x_fpmrequestdata.request_inputid
WHERE fpmcaps.x_fpmrequest.statename =
'IN_WORKFLOW/DEEP_IN_WORKFLOW/SANCTION_HOLD' AND
fpmcaps.x_fpmrequest.customproperty1 = 'FP'
Anyone any comments on why I would receive this message?
Thanks,
Andreas
I have a pass-through query (seen below). The field
"fpmcaps.x_fpmrequestdata.data" is kind of a data blob that contains
various fields. I am trying to split the blob (see middle section), but
access gives me the error message that the right parenthesis is
missing.
SELECT fpmcaps.x_fpmrequest.receivername,
fpmcaps.x_fpmrequestdata.data,(fpmcaps.x_fpmrequest.settlementamount/100)
AS Amount, fpmcaps.x_fpmrequest.sendername AS sender,
IIf(InStr(1,fpmcaps.x_fpmrequestdata.data,'<beneficiaryName>')=0,Null,Mid(fpmcaps.x_fpmrequestdata.data,(InStr(1,fpmcaps.x_fpmrequestdata.data,'<beneficiaryName>')+17),(InStr(1,fpmcaps.x_fpmrequestdata.data,'</beneficiaryName>')-(InStr(1,fpmcaps.x_fpmrequestdata.data,'<beneficiaryName>')+17))))
AS BeneName
FROM fpmcaps.x_fpmrequest INNER JOIN fpmcaps.x_fpmrequestdata ON
fpmcaps.x_fpmrequest.inputid = fpmcaps.x_fpmrequestdata.request_inputid
WHERE fpmcaps.x_fpmrequest.statename =
'IN_WORKFLOW/DEEP_IN_WORKFLOW/SANCTION_HOLD' AND
fpmcaps.x_fpmrequest.customproperty1 = 'FP'
Anyone any comments on why I would receive this message?
Thanks,
Andreas