date from unbound textbox problem

rob.low

Access Nutter
Local time
Today, 09:16
Joined
Dec 27, 2007
Messages
96
hi there

what i am having difficulty with is :confused:

i have a form with a unbound text box were a date is added by a user and
then a command button is clicked and if the date entered is say 10 days older than the todaysdate date it opens a different form
something like this??

date < me.textdate then
open form

any help will be appreciated :)

thanks
rob
sorry if it seems a bit vague
 
Last edited:
a command button is clicked and if the date entered is say 10 days older than the todaysdate date it opens a different form
something like this??

date < me.textdate then
open form
maybe this:
Code:
if dateadd("d", 10, me!textdate) < date() then
   open form
 
thank you

maybe this:
Code:
if dateadd("d", 10, me!textdate) < date() then
   open form

thank you ajetrumpet :)

that worked like a charm :D
rob
 

Users who are viewing this thread

Back
Top Bottom