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

project start date should be less than project end date

Hello I am stuck with a problem and I need some help.I have been asked to make the Project_Start_Date less than the Project_End_Date of my project_details table and before a project is assigned today employee a check should be performed ro ensure that the start date of the new project is greater than the end date of the current project to which that employee has been assigned.please someone kind enough can help me.
Mar 18 '15 #1
3 1267
Seth Schrock
2,965 Expert 2GB
I'm guessing that you enter the start date before the end date, so I would put data validation in your End Date field to say >= [Project_Start_Date]. You would go into design view on your table and select your end date field and look in the field properties to see your validation property.
Mar 18 '15 #2
it displays a message that'invalid sql syntax-cannot use multiple columns in a volumn-level CHECK constraint
Mar 18 '15 #3
Seth Schrock
2,965 Expert 2GB
Checkout the following link: Validation Rules. In the section titled Validation Rules for tables, you will see an example of what you are looking for.

Just making sure, are you using Access as your backend or some SQL server? The error message seems more like a MySQL, SQL Server or Oracle message than it does like Access.
Mar 19 '15 #4

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

Similar topics

11
by: Matt | last post by:
My ASP page allows the user select the date, and it will display the report during that week of that date. My question is when the program query database, I need to know the beginning date and...
2
by: Scott Knapp | last post by:
Good Day - I have a form which sets the current date, as follows: <script type="text/javascript"> xx=new Date() dd=xx.getDate() mm=xx.getMonth()+1 yy=xx.getYear() mmddyy=mm+"/"+dd+"/"+yy...
6
by: Mike | last post by:
Everytime I try to start a new project, I get the message "Error writing the project file. Error loading type library/DLL. I have VS.NET ENT 1.1 on W2K (SP4) I tried re-installing .NET,...
7
by: CheezIt2831 | last post by:
hello, I have 5 tables(Alpha, Bravo, Charlie, Service, Trans). What i am trying to do is be able to select a start date and ending date for a report and include fields from the 5 tables. this is my...
1
by: srikanthch3 | last post by:
Hi I had problem in comparision of the start date and end date vba in excell.if u give the end date 2/2/07 and start date 3/2/07, it is accepting.so any one can help. Srikanth
3
by: Ed | last post by:
Hi, guys, I add some new projects. No source file, but only some copy operation in Post Event. The project is to do some file deployment for some third party library. When I compile the...
1
by: kkshansid | last post by:
my query is select from project it gives project date 2003-05-08 00:00:00 i want 2003-05-08 format
1
by: divya birla | last post by:
Posted - 03/29/2011 : 06:34:20 I have a table which contain Topic, Sequence number and no of turns. User input the Single Start date and on the basis of which series of start date and end...
1
by: mitche | last post by:
How do i get my combo box to only allow those items selected from a start date and end date in one record and not be used again in another record until after the end date . Can anyone help please
2
by: Mahalasa kini | last post by:
Create a page with fields ‘From Date’ and ‘To Date’. Validate the form using JS such that – ‘From date’ is always less than ‘to date’. ‘To date’ should not be greater than current date. Display...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...

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.