
Signature
There's ALWAYS more than one way to skin a cat!
Answers/posts based on Access 2000/2003
Ling,
It sounds like what you suggest should meet my needs but I am having a bit
of trouble implementing the event. For a text box I have with a name and
control source called CardNoInitiated1, I tried the following:
Private Sub CardNoInitiated1_AfterUpdate()
If Not IsNull(Me.CardNoInitiated1.Value) Then
CardNoInitiated1.DefaultValue = """" & Me.CardNoInitiated1.Value &
""""
End If
End Sub
However the part:
CardNoInitiated1.DefaultValue = """" & Me.CardNoInitiated1.Value &
""""
gave me a compile error of Expected: Expression.
Any thoughts? I am new to VB.
> You can do this by using the AfterUpdate event of the field you want to carry
> forward. This will automatically carry forward to each ensuing new record
[quoted text clipped - 34 lines]
>
> Linq
cjfazio - 31 Dec 2007 05:16 GMT
Linq,
One other question. If I get this script working and I have two people
using the same form but inputting different records what will be the impact
to the populated fields? Will the second person that opened the form see the
populated fields that were entered by the first person?
Chuck
> Ling,
>
[quoted text clipped - 56 lines]
> >
> > Linq
cjfazio - 31 Dec 2007 05:49 GMT
Linq,
Forget my questions above. When I cut and pasted your code it added a
paragraph mark after the """", thus giving me a syntax error. After I fix
that it worked fine. It's just what I wanted. Thanks.
Chuck
> Linq,
>
[quoted text clipped - 65 lines]
> > >
> > > Linq