Data of one field to another

D

Dimitris

Hello.
In a form I have three fields F1 and F2 and F3. What I need is that whenever
the word "OK" is entered in F2, I need the data of F1 entered in F3. But only
if OK is entered in F2.
Can someone please help?
Thank you
Jimmy
 
B

Brendan Reynolds

Dimitris said:
Hello.
In a form I have three fields F1 and F2 and F3. What I need is that
whenever
the word "OK" is entered in F2, I need the data of F1 entered in F3. But
only
if OK is entered in F2.
Can someone please help?
Thank you
Jimmy


Private Sub F2_AfterUpdate()
If Me.F2 = "OK" Then Me.F3 = Me.F1
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top