Microsoft Access Forums

Go Back   Microsoft Access Forums > Access Forums > Forms

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 03-03-2009, 12:52 AM
Novice
 
Join Date: Mar 2009
Posts: 1
johnschof is on a distinguished road
Default Entering the same data into 2 fields on a form

I am setting up a database to monitor the progress of projects. For each project I have an "initial estimated completion date" and a "current estimated completion date". At the start of a project I want to be able to enter the "initial estimated completion date" and also, without having to re-enter the data, assign this date to the "current estimated completion date" as well.
Subsequently the "current estimated completion date" would be updated as the project progressed and we would be able to compare this date to the date we originally estimated.
Hope you can follow that, what is the best way to acheive this?
NB There are actually lots of different stages to each project with initial estimated dates and current estimated dates so entering the data twice would be quite time consuming.
thanks
Reply With Quote
  #2  
Old 03-15-2009, 02:50 PM
RuralGuy's Avatar
RuralGuy RuralGuy is online now Windows 7 Access 2007 (version 12.0)
Administrator
 
Join Date: Mar 2007
Location: 8300' in the Colorado Rocky Mountains
Posts: 4,263
RuralGuy will become famous soon enoughRuralGuy will become famous soon enough
Default

Simply use the AfterUpdate event of the Initial Estimate controls to copy the value to the other control.
__________________
(RG for short) aka Allan Bunch MS Access MVP - WinXP Pro, Win7 - acXP, ac07
If your issue is resolved...follow this link for directions on how to use the Solved thread tool!
Teaching is not filling a bucket but lighting a fire. Borrowed quote..."Docendo discimus"
Reply With Quote
  #3  
Old 03-16-2009, 10:19 AM
Novice
 
Join Date: Feb 2009
Posts: 14
blackduck603 is on a distinguished road
Default

If you only want to copy the date on the 1st data entry (specifying estimated completed date), you could add code to in AfterUpdate to only copy if the field/control is empty, therefore subsequent data entries would not change the estimated date.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pls Help!!! Summing only the Fields with the same Data radyoluna Forms 0 01-24-2009 08:40 AM
can't enter data in some form fields ashiers Forms 1 09-18-2008 10:37 AM
Update a field in a table after ordering data in two other fields majamer Queries 1 08-04-2008 01:30 AM
Entering query results in a form marcello.dolcini Forms 0 04-15-2007 04:01 PM
Fields - No Data tempowls21 Access 0 06-22-2006 04:13 PM


All times are GMT -8. The time now is 02:49 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.