Reflecting a change in the mainform based on a condition in subfor

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to make the status(a field in the table) to "closed" in the Main form
based on a condition in the sub form.At the begining the status is "Open".I
want something like-
if subform.text1="Closed" then
mainform.text2="Closed"
end if
How do I write the syntax for such requirement?How do I navigate between
parent form and sub form?
 
Easiest way is probably to call it like you would another form ...
[Forms]![MyMainForm]![text2] = "closed" if that doesn't work post back
and let me know. hth
 
Back
Top