My name is Sonya Geary, ad I have a question for you. With this letter is my form (doc1) and my query, I am using access. Ii have a insulin type combo box and two following text boxes for ratio and corr_ratio. I wan my users to choose a insulin type an click on the choice they want to make. From there the program takes over and looks up data the ratio and corr_ratio from the insulin query. I did the two look ups with dlookup and it works, however when I choose a different choice other than the first row of the table it doesn’t work.
What I would like to see is that the user chooses a insulin type (say NPH) an the lookup pulls the correct ratio and corr_ratio. I would like this say if they choose wrong the first time and had to choose again. I am wondering if a nested iif statement is the way to go? Now a iif statement has two parts, a true part and a false part, I am having trouble with the iif statement. Am I on the right track or is there another way?
What I would like to see is that the user chooses a insulin type (say NPH) an the lookup pulls the correct ratio and corr_ratio. I would like this say if they choose wrong the first time and had to choose again. I am wondering if a nested iif statement is the way to go? Now a iif statement has two parts, a true part and a false part, I am having trouble with the iif statement. Am I on the right track or is there another way?