Subform event firing question

  • Thread starter Thread starter Nick via AccessMonster.com
  • Start date Start date
N

Nick via AccessMonster.com

Hello all,

I'm attempting to fire an event when a user selects a record in my datasheet
subform. I have searched and seen that the OnCurrent event is what I should
be using, but that is where my problem comes in; the subform only has the
Enter and Exit events, and the bound form I am using as the subform's
datasheet is created at run-time.

I know one work-around would be to include a timer on the form to force-fire
my code, but that seems over the top. Am I missing something with the
OnCurrent event of the subform? I am very weak in the area of subforms, as I
have rarely used them. Any help would be appreciated.

TIA,

Nick
 
You are looking at the events of the subform *control*, not the events of
the form in that control.

1. In form, design view.

2. Open the Properties box (View menu.)

3. Click the subform control.
The title of the Properties box reads "Subform/subreport".

4. Click the square box at the intersection of the rulers (left of the
subform's horizontal ruler, and above its vertical ruler.) The Title of the
Properties box now reads "Form"

The On Current property is on the Event tab of the Properties box.
 
Back
Top