All right, I did write this in the form,
however the line below is showing.
What must I do to make certain that it is only saved.
Please explain the context. "The line below"??? "it" is only saved?
Step back a bit, and bear in mind that we're volunteers, who can only
work
with what you actually POST, not what you're thinking or what you see.
I'm
guessing you're referring to my reply some time back about setting the
Default
Value of a control to the value entered, but other than that I have no
idea
what you're expecting, what you're seeing, or what you want.
--
John W. Vinson [MVP]
Microsoft's replacements for these newsgroups:
http://social.msdn.microsoft.com/Forums/en-US/accessdev/
http://social.answers.microsoft.com/Forums/en-US/addbuz/
and see also
http://www.utteraccess.com
John from
https://groups.google.com/forum/?hl=en&fromgroups=#!topic/microsoft.public.access/rLfy6gBP5X
REpeat memory
2 posts by 2 authors in microsoft.public.access
[Email updates to me] [Collapse all]
me (The Doctor change)
Post reply
More message actions
Sep 24 (6 days ago)
Quesion how do you tell an access application to remember a field?
--
Member - Liberal International This is (e-mail address removed) Ici
(e-mail address removed)
God,Queen and country!Never Satan President Republic!Beware AntiChrist
rising!
http://www.fullyfollow.me/rootnl2k
USA petition to dissolve the Republic and vote to disoolve it in
November
2012
John W. Vinson
Post reply
More message actions
Sep 24 (6 days ago)
Quesion how do you tell an access application to remember a field?
If you mean to have a Textbox or other control on a Form become
"sticky",
keeping the value most recently entered as the default, you can use a
little
VBA code in the AfterUpdate event of the control. Let's say you have a
form
with a textbox named MyText. The code would be
Private Sub MyText_AfterUpdate()
Me!MyText.DefaultValue = """" & Me!MyText & """"
End Sub
That's four doublequotes before and after; the Default Value property of
a
control (whatever the datatype of the underlying field) must be a text
string,
and the quotes do this.
--
John W. Vinson [MVP]
Microsoft's replacements for these newsgroups:
http://social.msdn.microsoft.com/Forums/en-US/accessdev/
http://social.answers.microsoft.com/Forums/en-US/addbuz/
and see also
http://www.utteraccess.com
So I did as you told me, however what happens is
Once I type in the selected field it then repeat on the line
below.
All that is needed is the once type, the field or in this case fields
are memorised for future use.
--
Member - Liberal International This is (e-mail address removed) Ici
(e-mail address removed)
God,Queen and country!Never Satan President Republic!Beware AntiChrist
rising!
http://www.fullyfollow.me/rootnl2k
USA petition to dissolve the Republic and vote to disoolve it in
November
2012