
How Do I Detect a New Record from the Navigation Buttons
Thanks, I did it your way... (ok, so I'm Frank's antithesis today:^) I could
have wasted a lot of time trying to do it my way.
But still!! -- there has to be some way to see if the Navigational button
"add new" was pushed. Also, I've learned a good lesson about going to other
records in the OnCurrent event :^((
Anyway, I like my new homemade Nav buttons better than the built-in ones.
Your suggestion is much appreciated!
Thanks for your help--
ScottP
Quote:
> My advice: remove the navigation buttons! If they need the ability to
> navigate from current to prior or next, create your own navigation
buttons.
> New records get added via a 'New' button.
> Steve
> > I'm having a problem in the OnCurrent event in detecting if a record has
> > been added from the Navigation Button -- the button with the
> asterisk-right
> > arrow[*>]. If I could detect if that button has been pressed, it would
> save
> > me a lot of headaches.
> > The reason: my subform disables the text boxes if there is no
> "billNumber"
> > (in OnCurrent). If the "new record" button in the navigation buttons is
> > pushed, the OnCurrent event disables all the text boxes and the user
can't
> > add a record as needed. The process is more complicated than described,
> but
> > the pertinent information seems to be stated.
> > I've tried the 'NewRecord' call, but it returns true both when the
subform
> > is empty and when the 'new record' button is pushed.
> > Any suggestions would be appreciated!
> > Thanks-
> > ScottP