A
Allen_N
I often want to save user-input parameters between runs, but Access seems to
make this much more difficult than it should be, so I wonder if I'm doing it
wrong.
I can't get the right behaviour from the form, which contains 2 Text Boxes
and has a 2-column, 1-row table as its Record Source. The text boxes have a
date-based input mask, and the table contains the corresponding fields as
type Date/Time. Currently, I have set the form properties as:
Allow Filters = true
Allow Edits = true
Allow Deletions = true
Allow Additions = true
Data Entry = false
Here are some of the annoying things it does.
(1) If I change the date in the 2nd text box and press Enter, both text
boxes go blank. When I open the table, however, the last data that I managed
to get to 'take' are still there.
(2) If I change the date in the 1st text box and press Tab, then open the
table, I find that neither field has changed.
(3) If I change the date in the 2nd text box and press Tab, both text boxes
go blank, and I find that neither field has changed.
In the past, I've got around this kind of nonsense by building layers of
code between the form and the table, but it shouldn't have to be that way. Is
there a web page or some basic rules that explain how to set this up properly?
Thanks!
make this much more difficult than it should be, so I wonder if I'm doing it
wrong.
I can't get the right behaviour from the form, which contains 2 Text Boxes
and has a 2-column, 1-row table as its Record Source. The text boxes have a
date-based input mask, and the table contains the corresponding fields as
type Date/Time. Currently, I have set the form properties as:
Allow Filters = true
Allow Edits = true
Allow Deletions = true
Allow Additions = true
Data Entry = false
Here are some of the annoying things it does.
(1) If I change the date in the 2nd text box and press Enter, both text
boxes go blank. When I open the table, however, the last data that I managed
to get to 'take' are still there.
(2) If I change the date in the 1st text box and press Tab, then open the
table, I find that neither field has changed.
(3) If I change the date in the 2nd text box and press Tab, both text boxes
go blank, and I find that neither field has changed.
In the past, I've got around this kind of nonsense by building layers of
code between the form and the table, but it shouldn't have to be that way. Is
there a web page or some basic rules that explain how to set this up properly?
Thanks!