f7s4r4v

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



This is probably a real stupid question, but I have this code I wrote and run
it on the afterupdate event of a form(the user types in a date or checks a
box and some fields of the form are populated with information from another
form and a new record is copied down with a different date for each day of
the week for as many weeks as specified in the code -there are then empty
attendance hour fields for the purpose of tracking daily attendance). I want
to call this code from another form (afterupdate) to run the event procedure
on a different form.......I have no idea how to "call" anything and am just
trying to learn about writing functions and variables and all that. Can you
tell me how to make this code a function and then how to "call" it?

Thank you

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/Forums.aspx/access-gettingstarted/200801/1

.



Relevant Pages

  • Re: Canceling the OnKeyDown event
    ... if I put the code for shifting focus ... > the behavior when the user types a value in the combo box and presses ... > better served by using the combo box's AfterUpdate event, ... to send the focus to the subform. ...
    (microsoft.public.access.forms)
  • Re: Canceling the OnKeyDown event
    ... if I put the code for shifting focus ... > the behavior when the user types a value in the combo box and presses ... > better served by using the combo box's AfterUpdate event, ... to send the focus to the subform. ...
    (microsoft.public.access.formscoding)