Update Subform when changing a rec in other subform

tompynationtompynation Member Posts: 398
Hi,

I got a main form with 2 subforms.

Subform 2 is based on values in Subform 1.

When a value in subform 1 is changed, the records in Subform 2 changes.

My only problem is how to update the Subform 2 then, when changing something inside subform 1...

Answers

  • WildcardWildcard Member Posts: 26
    have you try to do something like this :

    on the subform 1, call a function on the main subform who update the subform 2 (currform.subform2.update)
  • KYDutchieKYDutchie Member Posts: 345
    Hi,

    Look at this post:
    http://www.mibuso.com/forum/viewtopic.p ... highlight=

    it tells you how to update the main form from a subform.
    It can be easily adapted to update the second subform from the first subform.

    Regards,

    Willy
    Fostering a homeless, abused child is the hardest yet most rewarding thing I have ever done.
  • garakgarak Member Posts: 3,263
    oh, an old post of mine ...
    Do you make it right, it works too!
  • KYDutchieKYDutchie Member Posts: 345
    Garak,

    that was a real helpful post to me!

    Thanks,

    Willy
    Fostering a homeless, abused child is the hardest yet most rewarding thing I have ever done.
Sign In or Register to comment.