Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms / May 2008

Tip: Looking for answers? Try searching our database.

Data of one field to another

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dimitris - 12 May 2008 10:46 GMT
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
Brendan Reynolds - 12 May 2008 11:02 GMT
> Hello.
> In a form I have three fields F1 and F2 and F3. What I need is that
[quoted text clipped - 5 lines]
> Thank you
> Jimmy

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

Signature

Brendan Reynolds

Dimitris - 12 May 2008 12:27 GMT
Thank you,
It worked fine.

> > Hello.
> > In a form I have three fields F1 and F2 and F3. What I need is that
[quoted text clipped - 9 lines]
>     If Me.F2 = "OK" Then Me.F3 = Me.F1
> End Sub
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.