Re: How to enter a processing date into a Form
From: Dirk Goldgar (dg_at_NOdataSPAMgnostics.com)
Date: 07/17/04
- Next message: Van T. Dinh: "Re: Combo box reading from query"
- Previous message: Dirk Goldgar: "Re: Combo box reading from query"
- In reply to: anonymous_at_discussions.microsoft.com: "Re: How to enter a processing date into a Form"
- Next in thread: Allen Browne: "Re: How to enter a processing date into a Form"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 17 Jul 2004 00:21:16 -0400
<anonymous@discussions.microsoft.com> wrote in message
news:2e85701c46ba8$162333a0$a401280a@phx.gbl
> Your assumption was correct. I added your code but the
> message box does't open. Why???
I can only think of three reasons. Either txtProcessingDate is not
Null -- does it have a default value? -- or the form's BeforeUpdate
event didn't fire at all -- did you modify a bound control on the form,
so that the record needed to be saved? -- or there's an error in the
code such that it didn't even compile -- did you create the field
"DateProcessed" and the control "txtProcessingDate" as I described them?
If you click Debug -> Compile, do you get any errors?
You could set a breakpoint at the top of the event procedure, trigger it
by modifying and saving a record, and step through the code examining
values and observing the path it takes. That might tell you something
about why you're not getting the message box when you expect to.
-- Dirk Goldgar, MS Access MVP www.datagnostics.com (please reply to the newsgroup)
- Next message: Van T. Dinh: "Re: Combo box reading from query"
- Previous message: Dirk Goldgar: "Re: Combo box reading from query"
- In reply to: anonymous_at_discussions.microsoft.com: "Re: How to enter a processing date into a Form"
- Next in thread: Allen Browne: "Re: How to enter a processing date into a Form"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|