I've tried the AfterUpdate event, but I only have the one field on the form
-- the date they enter. The rest of the fields are unbound text boxes with
the calculations. I can't move off the field to trigger the AfterUpdate.
The "on change" works well as long as you use the calendar to pick.
Thanks for responding, though.
Any other suggestions?
Also--I want to thank you for sharing your tips and techniques. Your
website has been a great resource for me. The code you created and shared
that changes a query SQL statement into a string that can be used in VBA has
been a life saver. THANK YOU.
"Allen Browne" wrote:
> Use the AfterUpdate event of the control.
>
> --
> Allen Browne - Microsoft MVP. Perth, Western Australia
> Tips for Access users - http://allenbrowne.com/tips.html
> Reply to group, rather than allenbrowne at mvps dot org.
> "laavista" <(E-Mail Removed)> wrote in message
> news:2381754C-546D-4227-AC0F-(E-Mail Removed)...
> >I have a field called "CheckInDate" (short date). The user will enter a
> >date
> > in the field, then based on that date, a series of calculations are done
> > and
> > displayed.
> > I would like the calculations to automatically calculate as soon as the
> > date
> > is entered (versus having the user press a command button). I used the
> > "on
> > change event" and it works well if you select a date from the calendar.
> > When
> > you try to enter a date manually, as soon as you type the first number, I
> > get
> > an error (not right format for the field). I think it triggerse the "on
> > change" as soon as I enter that first number.
> > - Is there anyway around this?
> > - Is there a way of capturing that the date is being manually entered and
> > calling
> > another procedure? or
> > - Is there a different event I could use instead of "on change"? (I
> > could
> > not get this to work except with on change unless I'm doing something
> > wrong)
> >
> > Any help would be greatly appreciated!
> >
> >
>
>