473,386 Members | 1,606 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,386 software developers and data experts.

Auto update form field to calculate number of days overdue

I'm trying to update a form field to calculate number of days overdue based on another projected training date field on my form.
This is what I have on my control source line:

=DateDiff("d",[Projected Training Date],Date())

I'm getting Name? in field. Any help appreciated
Oct 7 '15 #1
2 1906
Seth Schrock
2,965 Expert 2GB
Have you checked to make sure that your field name is spelled correctly?
Oct 8 '15 #2
hvsummer
215 128KB
you may have problem with datatype, first checking name as seth schrock suggestions. next, check your date's field data type.

you can use datevalue() to force access recognize value as date.

Expand|Select|Wrap|Line Numbers
  1. =DateDiff("d",datevalue([Projected Training Date]),Date())
Oct 8 '15 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Chris | last post by:
Before I started to create table, etc to track unique form field record number assigments I thought I'd check to see if there is now a better way to do this in .NET. I have a parent form (table)...
1
by: ainsley | last post by:
Hi this is going to sound like a very basic question, but I am creating a database in Access which is based on a number of unlimited tables. In my data entry form i have a number of combo boxes...
0
by: letsgetsilly | last post by:
Hello all, I'm using MS SQL server. I'm trying to SELECT * FROM 4 different tables WHERE (DueDate < Today'sDate), and therefore overdue. I would like to display all of this information in a...
1
by: Michael McGrew | last post by:
I have a asp form that has a dynamic drop-down box that a user selects a value from. Once the user makes a selection I use the onChange event to capture the selection and pass this value to a...
1
by: kunal0101 | last post by:
Hi, I am a new user to access and am building a database to capture the rotation dates for employees. There is a table called "Rotation schedule" which contains "name", "Duration (in weeks) and...
1
by: Phil | last post by:
Hello, I have a sales form, order details, that shows Product ID, quantity, Unit Price, etc. I have a Products table, Products, that has Product ID, Stock Level, Unit Price. What i would like...
17
by: cmcdermo | last post by:
Ok my first post here so sorry if i mess something up. I have to edit a page that uses some javascript and not sure really. At the moment a user clicks on a button saying "black and white" and...
2
by: Xaysana12345 | last post by:
Please help. I have been developing a financial database, now I have been in last bit to finish. i do not know much technical terms, but i am trying to explain what i need. so please be with me. ...
9
by: blpierce76 | last post by:
I have a form I use to log in sample with the Lab ID as the tables primary key. Currently I have this form open to the last record for entering new samples. However if I type in or select an...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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,...

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.