Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

current event

Status
Not open for further replies.

bronc

Instructor
Aug 28, 2003
145
GB
I have a form and a subform. I wish to update a combo on the subform for each new record. The current event seems to be extravagant since it seems to fire more that once for each new record. Is there a better way of updating the form each time? Or ccan I use something like a static variable to count the no of times it fires and make sure that it fires only once?
 
Test the Me.NewRecord property in the Current event procedure.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
great! so simple - i missed it.
this forum is so helpful. thanks.
 
By the way I wonder just why Current comes to fire more than once?
 
How ae ya bronc . . .

In form design view, put the cursor on the [blue]On Current[/blue] event line and hit [blue]F1[/blue]. Its called context sensitive help ...

See Ya! . . . . . .

Be sure to see thread181-473997 [blue]Worthy Reading![/blue] [thumbsup2]
Also faq181-2886 [blue]Worthy Reading![/blue] [thumbsup2]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top