lbenjaminl
New member
- Local time
- Today, 05:27
- Joined
- Sep 28, 2022
- Messages
- 8
I'm new, but cannot find an answer in the documentation.
I have a controling subform (DisplayOptions). It has 6 checkboxes that control which columns to display throughout the application in addition to the three default columns. What I want to have happen is that when a checkbox is checked or unckecked (the table "My Profile" is updated (this is happening) and the columns in the other two subforms are requeried and Formatted.
I have a subform (NutritionalGoals). It has a RecordSource of (SELECT [My Profile].ID, [My Profile].CalorieGoal, [My Profile].CarbGoal, [My Profile].ProteinGoal, [My Profile].FatGoal, [My Profile].SodiumGoal, [My Profile].PotassiumGoal, [My Profile].PhosphorusGoal, [My Profile].PrefFat, [My Profile].PrefSodium, [My Profile].PrefPotassium, [My Profile].PrefPhosphorous, [My Profile].PrefCalcium, [My Profile].PrefSugars FROM [My Profile] WHERE ((([My Profile].ID)=[TempVars]![sysProfileID])); The columns in the subform are dynamically formatted based on the checked boxes in the DisplayOptions subform
I have a very complex (FoodDiary) subform. It contains a tab control. the first tab will be modified so that allong with the required fields, the last four fields will be dynamically built and totalled based on the checkbox changes in DisplayOptions.
Believe it or not, I have the dynamic building working.
What I can't seem to get working is the Requery of the two subforms when the checkboxes in DisplayOptions change.
Go figure!
I have a controling subform (DisplayOptions). It has 6 checkboxes that control which columns to display throughout the application in addition to the three default columns. What I want to have happen is that when a checkbox is checked or unckecked (the table "My Profile" is updated (this is happening) and the columns in the other two subforms are requeried and Formatted.
I have a subform (NutritionalGoals). It has a RecordSource of (SELECT [My Profile].ID, [My Profile].CalorieGoal, [My Profile].CarbGoal, [My Profile].ProteinGoal, [My Profile].FatGoal, [My Profile].SodiumGoal, [My Profile].PotassiumGoal, [My Profile].PhosphorusGoal, [My Profile].PrefFat, [My Profile].PrefSodium, [My Profile].PrefPotassium, [My Profile].PrefPhosphorous, [My Profile].PrefCalcium, [My Profile].PrefSugars FROM [My Profile] WHERE ((([My Profile].ID)=[TempVars]![sysProfileID])); The columns in the subform are dynamically formatted based on the checked boxes in the DisplayOptions subform
I have a very complex (FoodDiary) subform. It contains a tab control. the first tab will be modified so that allong with the required fields, the last four fields will be dynamically built and totalled based on the checkbox changes in DisplayOptions.
Believe it or not, I have the dynamic building working.
What I can't seem to get working is the Requery of the two subforms when the checkboxes in DisplayOptions change.
Go figure!