473,398 Members | 2,368 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Autoupdate

I'm trying to update my completion date based where my TCP is true,
and then use the Date of Request. This is what I've written, but
its not updating.

Private Sub Completion_Date_Enter()
If IsNull(Me.Completion_Date) = False And Me.TCP = True Then
Me.Completion_Date = Me.Date_of_Request

Any suggestions?
Nov 13 '05 #1
1 1558
Did you mean to set the completion date only if it IS null? The exrpression:
IsNull(Me.Completion_Date) = False
would only be true if the text box is NOT null.

Would it make sense to use the AfterUpdate of the TCP (checkbox?)? That way
it gets set regardless of whether the user ever sets focus to the date box
or not.

Private Sub TCP_AfterUpdate()
If (Me.TCP.Value) And IsNull(Me.Completion_Date) Then
Me.Completion_Date = Me.Date_of_Request
End If
End Sub

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Keith" <ko******@earthlink.net> wrote in message
news:8c**************************@posting.google.c om...
I'm trying to update my completion date based where my TCP is true,
and then use the Date of Request. This is what I've written, but
its not updating.

Private Sub Completion_Date_Enter()
If IsNull(Me.Completion_Date) = False And Me.TCP = True Then
Me.Completion_Date = Me.Date_of_Request

Any suggestions?

Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: noam_a_jacobs | last post by:
Hi, I have a technical question for those smart cookies with update management experience. We use a product called EasyUpdate, from www.AutoUpdatePlus.com, to manage the updates of our app after...
0
by: UJ | last post by:
We've got a product we sell. Once it has been installed at the customer site it run completely unattended (it's a news provider service). Something we want to add is a way to do auto updates to the...
4
by: CSN | last post by:
Is there a way to have p/k sequences get automatically set to max(id)+1 after COPY's like the following? copy table1 (id,name) from stdin; 1 abc 2 def 3 fhi \.
0
by: Cute^_^ | last post by:
Hi all, Just recently started to learn how to use Access2002 and discovered the power of programming a database. Lately, I want to create a database for my own use. There are some quires I would...
2
by: Tee GEE | last post by:
I would like a user to input a time from a dropdown menu and have the three other fields update to the corresponding time zone. For example: a user in PST selects 0800 from the menu. The other...
6
by: S.Sigal | last post by:
Hello: Always wanted to do this -- but never knew how... The goal is to write software that goes out to clients -- but I want to be able to auto-update them when there is a later release...
3
by: Oscar Thornell | last post by:
Hi, I am looking for a technique where you from the serverside push/update a standard web browser with small piceces of data. An exempel could be sports result or stock exchange information. ...
1
by: Patrick | last post by:
Hello Hope someone can help me with this problem. I made an ASP.NET application, let's call it mysite.com/myapp. As I have regulary updates for this application, I want to upgrade the version...
1
by: tasmontique | last post by:
I am using access 2000. I have two questions Question 1 I have 3 tables. tblFlight, tblAircraftType, tblFlightProgramIN/OUT. tblFlight has a 1 to many relationship with tblAircraftType,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.