If calcweight is a field, you can not write "calcweight=use_size*use_size*blunt*.222" to update a field.
Replace calcweight with use_size*use_size*blunt*.222
Or if calcweight is an object, you must write
calcweight.value=use_size*use_size*blunt*.222
>Hi all,
>
>I have a form that is to return a calculated weight. The way I have it set up is obviously wrong, as it's returning the following error message:
>
>"CALCWEIGHT is not an object"
>
>Here's my setup:
>
>In the Refresh method for the Frame that Calcweight is on:
>
>"calcweight=use_size*use_size*blunt*.222"
>
>The field itself has the ControlName of "calcweight" and the Name "calcweight."
>
>In the InteractiveChangeEvent for the fields that affect the calculated value (use_size and blunt), I've got:
>
>"thisform.refresh"
>
>Anytime I change use_size or blunt, I get the error message above.
>
>What am I doing wrong?
>
>Thanks very much!
>
>John