J
jasonsmith via AccessMonster.com
I have a main form with a few different subforms. I'm trying to update the
data from one subform to the other. When the main form opens only one
subform appears "Form_fm14BinghamCAP_SealShaftAF". Once I have entered data
into the field(s) "lngShaftODAF" I want the user to be able to click a button
on the main form which then hides the current subform
"Form_fm14BinghamCAP_SealShaftAF". It then displays the hidden subform
"Form_fm14BinghamCAP_BrgAL" with all of it's fields. One of the fields is
"lngShaftODAL". The code runs but the field "lngShaftODAL" displays a 0
instead of the field answer from "lngShaftODAF" .
Form_fm14BinghamCAP_BrgAL.lngShaftODAL.DefaultValue =
Form_fm14BinghamCAP_SealShaftAF.lngShaftODAF
I put in a stop point in the code to see if the code has the correct answer
and it does but this answer is not popullated to the form field.
any idea's
thanks
data from one subform to the other. When the main form opens only one
subform appears "Form_fm14BinghamCAP_SealShaftAF". Once I have entered data
into the field(s) "lngShaftODAF" I want the user to be able to click a button
on the main form which then hides the current subform
"Form_fm14BinghamCAP_SealShaftAF". It then displays the hidden subform
"Form_fm14BinghamCAP_BrgAL" with all of it's fields. One of the fields is
"lngShaftODAL". The code runs but the field "lngShaftODAL" displays a 0
instead of the field answer from "lngShaftODAF" .
Form_fm14BinghamCAP_BrgAL.lngShaftODAL.DefaultValue =
Form_fm14BinghamCAP_SealShaftAF.lngShaftODAF
I put in a stop point in the code to see if the code has the correct answer
and it does but this answer is not popullated to the form field.
any idea's
thanks