i have a table which for simplicity's sake has three fields. one is weight and the other is height and the third is bsa which is equal to the weight/(height*height; the third one we'll call bsa. the more mathematically gifted will recognize this as weight divided by height squared, but anyway....
i originally created the table with the three fields, and generated a form from the table. after sprucing up the form, i used it (save ---> report) to create a report.
then something happened: i decided i'd make it easier for the person entering the data and get the software to computed the bsa.
so i modified the bsa control in the form and replaced the 'bsa' in the control source field with "=[Weight]/([Height]*[Height])". i also got a little carried away and modified the 'Format' property of this field to be 'General Number' (I think it was empty aforehand). I left the Number of Decimal places on "Auto" however.
Now when I run the report (which if you're eyes haven't glazed over) that you recollect was created using the spiffy "Save Form into Report" capability, I nothing in the BSA. The numbers I'm using were Weight 150, Height 60. On the form, the computed BSA value is 0.042 (although if I were to increase the width of the displaying control there'd be quite a few more decimal places worth of numbers).
Just to wrap this up in the interest of completeness: in the report, the properties of the 'bsa' field is bsa in the Control Source property. The Format is not completed, and the Decimal Places is set to Auto.
So, I guess my question is what's going on?
i originally created the table with the three fields, and generated a form from the table. after sprucing up the form, i used it (save ---> report) to create a report.
then something happened: i decided i'd make it easier for the person entering the data and get the software to computed the bsa.
so i modified the bsa control in the form and replaced the 'bsa' in the control source field with "=[Weight]/([Height]*[Height])". i also got a little carried away and modified the 'Format' property of this field to be 'General Number' (I think it was empty aforehand). I left the Number of Decimal places on "Auto" however.
Now when I run the report (which if you're eyes haven't glazed over) that you recollect was created using the spiffy "Save Form into Report" capability, I nothing in the BSA. The numbers I'm using were Weight 150, Height 60. On the form, the computed BSA value is 0.042 (although if I were to increase the width of the displaying control there'd be quite a few more decimal places worth of numbers).
Just to wrap this up in the interest of completeness: in the report, the properties of the 'bsa' field is bsa in the Control Source property. The Format is not completed, and the Decimal Places is set to Auto.
So, I guess my question is what's going on?