R
rumichelle355
Below is a sample of my coding in my program. What happens is when I make a
selection in a field in my subform..it opens a form that reveals only the
information needed for that particular selection. What I'm finding is that
when the information is entered, it does not necessarily show up on the
correct line in the table...meaning they are not linked properly. Is there a
way to link the two somewhere in this particular coding?
If Me![Unit Classification] = "BTG Steam Boiler" Then
DoCmd.Close acForm, "FireLocs Form"
DoCmd.OpenForm "Form BTG Steam Boiler", acNormal, , , acFormEdit,
acDialog"
Else
If Me![Unit Classification] = "BTG Steam Turbine" Then
DoCmd.Close acForm, "FireLocs Form"
DoCmd.OpenForm "Form BTG Steam Turbine", acNormal, , , acFormEdit,
acDialog
selection in a field in my subform..it opens a form that reveals only the
information needed for that particular selection. What I'm finding is that
when the information is entered, it does not necessarily show up on the
correct line in the table...meaning they are not linked properly. Is there a
way to link the two somewhere in this particular coding?
If Me![Unit Classification] = "BTG Steam Boiler" Then
DoCmd.Close acForm, "FireLocs Form"
DoCmd.OpenForm "Form BTG Steam Boiler", acNormal, , , acFormEdit,
acDialog"
Else
If Me![Unit Classification] = "BTG Steam Turbine" Then
DoCmd.Close acForm, "FireLocs Form"
DoCmd.OpenForm "Form BTG Steam Turbine", acNormal, , , acFormEdit,
acDialog