Pull Specific Field from other Form in Lookup

Pull Specific Field from other Form in Lookup

Quick background - I'm creating a project management system and have multiple form for different sub departments.  One of the departments need to be able to calculate a project cost.

To do this I have a lookup field (on FORM A) to select the product used in this project (FORM B).  What I need to do is pull the price field for Form B and set it to a variable in Form A so I can out that into a formula.

When I put the code together I keep getting and error that its looking for the boolean not a decimal.  Please see that attached file to see what I doing.

Any suggestions are greatly appreciated.