Hello all,
I am trying to set up a nutritional database where I can log food by selecting the item from a drop down menu and have access autofill the proteins, carbs, and fats columns. I currently have two tables, one with the master list of foods with their caloric content and another that I was wanting to be my Food Log. I've been able to figure out the lookup wizard so I've got my drop down list of foods from the Foods table already in my Food Log table. I've attached a screenshot in hopes that it will help explain what I'm trying to do. I messed around a little with the dlookup function but I think I can accomplish auto filling the fat/protein/carbs columns with the simple query. I've been getting stuck when creating the query where I can have the drop down menu, but when I go to select a different food, Access dings at me and doesn't let me change the food item. Any help will be greatly appreciated. Thank you!
![]()