Creating and Positioning Rectangle Graphics from Field Values

Question asked by MichaelShoaf on Oct 17, 2012
Latest reply on Oct 17, 2012 by philmodjunk

Title

Creating and Positioning Rectangle Graphics from Field Values

Post

I'd like to generate graphics of two rectangles from user input of length and width for each and then orient one over the other based on further input of relative horizontal and vertical position.

Input(rectA_length) + Input(rectA_width) = Graphic Rectangle A

Input(rectB_length) + Input(rectB_width) = Graphic Rectangle B

Graphic Rectangle A arranged over Graphic Rectangle B

Input(Horizontal_A_from_B) = Units of distance of Rectangle A Center from Rectangle B Center (postive number shifts A right, negative number shifts A left)

Input(Vertical_A_from_B) = Units of distance of Rectangle A Cetner from Rectangle B Center (postivie number shifts A up, negative number shifts A down)

New to Filemaker. No clue as to how to go about this. Do I need a script to do this?  Sometihng I'm missing in charts? Any suggestions would be greatly appreciated.