User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Database Design section within the Web Development category of DaniWeb, a massive community of 360,994 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,477 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Database Design advertiser:
Views: 4453 | Replies: 2
Reply
Join Date: Jan 2006
Location: england
Posts: 8
Reputation: pker walker is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
pker walker pker walker is offline Offline
Newbie Poster

Microsoft Access date validation Need a solution

  #1  
Jan 24th, 2006
right when i type the date in a need a validation for

it dusnt allow u to book any less than 7 days in advance from NOW (DATE cz i dont want time included).
If longer then 2 months in advance also dusnt let u

for as computing course work plz reply asap!!!
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Apr 2004
Posts: 207
Reputation: suRoot is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 6
suRoot's Avatar
suRoot suRoot is offline Offline
Posting Whiz in Training

Re: Microsoft Access date validation Need a solution

  #2  
Jan 24th, 2006
ok i've done this in the past.. can't remember exactly how it's done but if you look through your date functions you will see that to add 1 day to your date you simply +1 so put in an if statement (use code builder) that goes something like;

IF inputbox1.date < (date+1) THEN msgbox("please enter in a valid date"), inputbox1.value = date

yes i know that's not gramitically correct as havn't done access for a while but I hope you get the idea?
NIKE just mod it!


HND Business IT
CCNA
MSCE
Reply With Quote  
Join Date: Jan 2006
Location: england
Posts: 8
Reputation: pker walker is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
pker walker pker walker is offline Offline
Newbie Poster

Re: Microsoft Access date validation Need a solution

  #3  
Jan 24th, 2006
Originally Posted by suRoot
ok i've done this in the past.. can't remember exactly how it's done but if you look through your date functions you will see that to add 1 day to your date you simply +1 so put in an if statement (use code builder) that goes something like;

IF inputbox1.date < (date+1) THEN msgbox("please enter in a valid date"), inputbox1.value = date

yes i know that's not gramitically correct as havn't done access for a while but I hope you get the idea?

any chance u could find out the proper code for me and my code builder u mean on forms? i was looking for 1 on a table .... so it would be expression builder?
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Database Design Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the Database Design Forum

All times are GMT -4. The time now is 6:36 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC