C
Clif McIrvin
(I changed the topic ... the original post is at the bottom if you want
to see it.
(My new question is down a few lines to set the context.--Clif)
Absolutely. On the other hand, re-typing the same date 25 or 40 times
does tend to get annoying as well.
(Not the first time I've been accused of thinking in a non-standard
manner! <g>)
Dirk, I easily follow what you are saying here. In this particular case
the user is in the form to change the production date of several
existing records to the current production date (never today's date.) In
the majority of the cases, the production date is the only column that
needs to be changed, so the After Update event doesn't appear to be a
good fit.
As the daily production run is arbitrary, and the 'scheduled for
production' items are sorted by item number I have found no more
straight-forward way of selecting the items to be updated then to simply
scroll through the not yet produced items.
My revised question (and if it's outside the scope of the forum then
I've really not lost anything by asking) is:
How would you (and I'm certainly not directing this only to Dirk!)
suggest that I design the user interface?
Some greatly simplified sample data (I have the form in datasheet view):
Date
Produced Job ID Item Etc...
1/01/2099 ABC 1
1/01/2099 ABC 2
1/01/2099 ABC 3
1/01/2099 DEF 1
1/01/2099 DEF 2
1/01/2099 DEF 3
And the day's production log might show DEF-3, ABC-1 and DEF-1 (etc.)
The number of pieces on any day's production will almost always be less
than 30, and the number of pieces in pre-production will vary widely --
I have seen over 200 pieces in pre-production status at one time.
Assuming that 1) the only value that needs to be changed is the
production date (there are occasions when other controls require data
entry, but that is the exception) and 2) minimizing keystrokes and / or
mouse clicks is a design objective what recommendations do you have for
me?
to see it.
(My new question is down a few lines to set the context.--Clif)
I noticed that you said this:
In the Production Date _Enter event procedure [...]
... and this:
My idea was to automatically change the 'not yet produced' date to
the
'last date entered' when the user enters the date produced field,
If you'll pardon me for saying so, this strikes me as a singularly bad
idea.
Changing data just because a control receives the focus is a very
dangerous
business. Normally a user expects to be able to tab through or click
into
any field in any record without changing any data.
Absolutely. On the other hand, re-typing the same date 25 or 40 times
does tend to get annoying as well.
If you don't let them do
that, I think you're going to have confused and annoyed users.
Wouldn't it
make more sense to use AfterUpdate events of some controls to trigger
correlated data changes to other controls, where appropriate? Or else
the
Click events of command buttons, where people know that they are
asking for
some action to be taken in response to the click?
I don't really understand your description fully, so I may be off-base
here,
but I think you may be creating problems for yourself. The fact that
you're
asking to do something that Access has no built-in ability to do is a
suggestion that, at the very least, your approach is very unusual and
maybe
should be re-examined.
(Not the first time I've been accused of thinking in a non-standard
manner! <g>)
Dirk, I easily follow what you are saying here. In this particular case
the user is in the form to change the production date of several
existing records to the current production date (never today's date.) In
the majority of the cases, the production date is the only column that
needs to be changed, so the After Update event doesn't appear to be a
good fit.
As the daily production run is arbitrary, and the 'scheduled for
production' items are sorted by item number I have found no more
straight-forward way of selecting the items to be updated then to simply
scroll through the not yet produced items.
My revised question (and if it's outside the scope of the forum then
I've really not lost anything by asking) is:
How would you (and I'm certainly not directing this only to Dirk!)
suggest that I design the user interface?
Some greatly simplified sample data (I have the form in datasheet view):
Date
Produced Job ID Item Etc...
1/01/2099 ABC 1
1/01/2099 ABC 2
1/01/2099 ABC 3
1/01/2099 DEF 1
1/01/2099 DEF 2
1/01/2099 DEF 3
And the day's production log might show DEF-3, ABC-1 and DEF-1 (etc.)
The number of pieces on any day's production will almost always be less
than 30, and the number of pieces in pre-production will vary widely --
I have seen over 200 pieces in pre-production status at one time.
Assuming that 1) the only value that needs to be changed is the
production date (there are occasions when other controls require data
entry, but that is the exception) and 2) minimizing keystrokes and / or
mouse clicks is a design objective what recommendations do you have for
me?