'*' operator refuses to multiply numbers
I'm new to Quickbase so sorry if this has an obvious answer. I'm automating a shipping request email, and I've run into a head-scratcher. I'm calling a numeric field 'Shipping weight' from the 'Products' table with this:
GetFieldValues(GetRecords("{8.EX.'"&[Quote/Order Part #]&"'}", [_DBID_Products]), 22)
But when I try and multiply that with the numeric field 'Qty Quote/Order', it refuses to compile with the error "the operator '*' can't be applied on types textlist, number". It's eyebrow raising that you can't multiply a number LOL. I've tried wrapping the call in 'ToNumber' but it did not like that either. The full expression is:
If ([Qty Quote/Order] > 1, GetFieldValues(GetRecords("{8.EX.'"&[Quote/Order Part #]&"'}", [_DBID_Products]), 22) * [Qty Quote/Order], GetFieldValues(GetRecords("{8.EX.'"&[Quote/Order Part #]&"'}", [_DBID_Products]), 22))
What am I missing? Thanks in advance for helping out a noob!
------------------------------
Adam Waring
------------------------------