Results 1 to 3 of 3
  1. #1
    ann06 is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jan 2013
    Posts
    6

    Exclamation Event on parent form after the subform loads ?

    hi,


    I have parent form and child subform
    one field in the parentform is calculated on sum of records on the childsubform
    when the parent form loads initially the value in the calculatedfield is 0 then it shows the correct value when the childsubform value is populated
    i have anotherfield i want to change the property of the onotherfield.backcolor= RGB(0,0,255) when calculatedfield.value<0

    but its taking the initial value(0) not the calculated one
    which event shall i invoke on the form so that it waits the subform to complete then fires ... i tried current, load, activate events .. with no success
    please help me

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,624
    Try Conditional Formatting instead of code.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    ann06 is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jan 2013
    Posts
    6

    thank you that did the job

    Quote Originally Posted by June7 View Post
    Try Conditional Formatting instead of code.
    Thank you very much

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 08-11-2011, 06:22 AM
  2. Problem using Parent/Child Form/Subform
    By EvanRosenlieb in forum Forms
    Replies: 4
    Last Post: 06-27-2011, 05:25 PM
  3. Replies: 4
    Last Post: 05-17-2011, 06:56 AM
  4. Replies: 5
    Last Post: 03-17-2011, 06:21 AM
  5. Replies: 2
    Last Post: 10-19-2010, 11:05 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums