calculation

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
In Excel, I use the formula below to calculate if the patient is obese or
not.

=IF(703*(B1/(A1*A1))>30,"Y","N"). It works very well.
--------------------------------------
I would like to make it works in Access as well.

I have three text boxes-- height, weight and obesity-- in the form. As soon
as I enter info in the height and weight boxes, I wish the obesity text box
will show Y or N.

Is there a way to do that?
Please help
Chi Huynh


Is there a way to do that?
Please help
Chi Huynh
 
In the obesity text box you can use IIF

=IIF(703*([B1]/([A1]*[A1]))>30,"Y","N")

Note: change B1 and A1 to the fields names
 
In the obesity text box ControlSource you can use IIF

=IIF(703*([B1]/([A1]*[A1]))>30,"Y","N")

Note: change B1 and A1 to the fields names
 
Hi Ofer Cohen,

I am really appreciated for all your help! The formula works perfectly!!
Do you mind to tell me what your real name is? Is Ofer your first name?
Thanks
Chi Huynh


Ofer Cohen said:
In the obesity text box you can use IIF

=IIF(703*([B1]/([A1]*[A1]))>30,"Y","N")

Note: change B1 and A1 to the fields names

--
Good Luck
BS"D


Chi said:
Hi,
In Excel, I use the formula below to calculate if the patient is obese or
not.

=IF(703*(B1/(A1*A1))>30,"Y","N"). It works very well.
--------------------------------------
I would like to make it works in Access as well.

I have three text boxes-- height, weight and obesity-- in the form. As soon
as I enter info in the height and weight boxes, I wish the obesity text box
will show Y or N.

Is there a way to do that?
Please help
Chi Huynh


Is there a way to do that?
Please help
Chi Huynh
 
Yes, my first name is Ofer (It's in Hebrew - which mean a Fawn)

--
Good Luck
BS"D


Chi said:
Hi Ofer Cohen,

I am really appreciated for all your help! The formula works perfectly!!
Do you mind to tell me what your real name is? Is Ofer your first name?
Thanks
Chi Huynh


Ofer Cohen said:
In the obesity text box you can use IIF

=IIF(703*([B1]/([A1]*[A1]))>30,"Y","N")

Note: change B1 and A1 to the fields names

--
Good Luck
BS"D


Chi said:
Hi,
In Excel, I use the formula below to calculate if the patient is obese or
not.

=IF(703*(B1/(A1*A1))>30,"Y","N"). It works very well.
--------------------------------------
I would like to make it works in Access as well.

I have three text boxes-- height, weight and obesity-- in the form. As soon
as I enter info in the height and weight boxes, I wish the obesity text box
will show Y or N.

Is there a way to do that?
Please help
Chi Huynh


Is there a way to do that?
Please help
Chi Huynh
 
Thank you!!
Chi Huynh

Ofer Cohen said:
Yes, my first name is Ofer (It's in Hebrew - which mean a Fawn)

--
Good Luck
BS"D


Chi said:
Hi Ofer Cohen,

I am really appreciated for all your help! The formula works perfectly!!
Do you mind to tell me what your real name is? Is Ofer your first name?
Thanks
Chi Huynh


Ofer Cohen said:
In the obesity text box you can use IIF

=IIF(703*([B1]/([A1]*[A1]))>30,"Y","N")

Note: change B1 and A1 to the fields names

--
Good Luck
BS"D


:

Hi,
In Excel, I use the formula below to calculate if the patient is obese or
not.

=IF(703*(B1/(A1*A1))>30,"Y","N"). It works very well.
--------------------------------------
I would like to make it works in Access as well.

I have three text boxes-- height, weight and obesity-- in the form. As soon
as I enter info in the height and weight boxes, I wish the obesity text box
will show Y or N.

Is there a way to do that?
Please help
Chi Huynh


Is there a way to do that?
Please help
Chi Huynh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top