Resend my activation email : Register : Log in 
BCF: Bike Chat Forums


using access

Reply to topic
Bike Chat Forums Index -> General Bike Chat
View previous topic : View next topic  
Author Message

M1ke
Ped Boi



Joined: 11 Jun 2002
Karma :

PostPosted: 17:31 - 04 Apr 2003    Post subject: using access Reply with quote

Im stuck with a simple validation rule Sad

I have this field that displays a date, I need it to do a validation that will check that if its over 3 weeks from the current date then it displays a message saying 'this date is over three weeks ago'

I can do the pop up message and everything but what do i put in for the validation?

something along the lines of

iif date() = 3 weeks less than now() display 'your date is three weeks old'

^^ need that in a code it will recognise!

Hope someone can help me Confused

cheers, Mike
 Back to top
View user's profile Send private message Send e-mail Visit poster's website You must be logged in to rate posts

Keen
World Chat Champion



Joined: 03 Apr 2002
Karma :

PostPosted: 18:11 - 04 Apr 2003    Post subject: Reply with quote

A level ICT?

I too know the horrors of the coursework and visual basic. Good luck Very Happy
 Back to top
View user's profile Send private message Send e-mail Visit poster's website You must be logged in to rate posts

TiN
Pocket Tin



Joined: 14 Feb 2002
Karma :

PostPosted: 18:34 - 04 Apr 2003    Post subject: Reply with quote

Is it VB?

If so, then it's easy peasy Smile

There's a function "DateDiff()", which returns the, er, difference between two dates Smile

Thusly:

Code:


If DateDiff("d", Date, Date-to-compare) >= 21 Then
....


____________________
TiN
dotgems.net
 Back to top
View user's profile Send private message Send e-mail Visit poster's website You must be logged in to rate posts

MarsBar
World Chat Champion



Joined: 21 Aug 2002
Karma :

PostPosted: 18:43 - 04 Apr 2003    Post subject: Reply with quote

Praise Tin! \o/ Cool
 Back to top
View user's profile Send private message You must be logged in to rate posts

G
The Voice of Reason



Joined: 02 Feb 2002
Karma :

PostPosted: 18:44 - 04 Apr 2003    Post subject: Reply with quote

I believe it's 'vba' : Visual Basic for applications... mostly the same, especially in the latest releases.

Occasionally mess around with it, but haven't fora while.
 Back to top
View user's profile Send private message You must be logged in to rate posts

Zimma
Wheelie Junkie



Joined: 04 Feb 2002
Karma :

PostPosted: 20:07 - 04 Apr 2003    Post subject: Reply with quote

yeah tis what g said, i've fiddled in it once or twice. couldnt really be bothered to learn it Very Happy
____________________
-Zimma
 Back to top
View user's profile Send private message Send e-mail You must be logged in to rate posts

M1ke
Ped Boi



Joined: 11 Jun 2002
Karma :

PostPosted: 22:26 - 04 Apr 2003    Post subject: Reply with quote

You are the man tin! thankyou so much Smile
 Back to top
View user's profile Send private message Send e-mail Visit poster's website You must be logged in to rate posts

G1_
World Chat Champion



Joined: 27 May 2002
Karma :

PostPosted: 09:40 - 05 Apr 2003    Post subject: Reply with quote

[rant]
Arg, VB Mad
I can't understand why every one in my class prefers VB to Delphi. At least Delphi's a proper language.
[/rant]
 Back to top
View user's profile Send private message Visit poster's website You must be logged in to rate posts

Mrs_Hippy
The Pink Lady



Joined: 07 Jul 2002
Karma :

PostPosted: 09:07 - 06 Apr 2003    Post subject: Reply with quote

Have you got any photos of what you have been up to with Sooty and Sweep that could go on my Sooty and Sweep page? (everyone please try and read that with smutt mode disabled....)


MarsBar wrote:
Praise Tin! \o/ Cool

____________________
Karma - Karma
 Back to top
View user's profile Send private message Send e-mail You must be logged in to rate posts

MarsBar
World Chat Champion



Joined: 21 Aug 2002
Karma :

PostPosted: 09:42 - 06 Apr 2003    Post subject: Reply with quote

MrsHippy wrote:
Have you got any photos of what you have been up to with Sooty and Sweep that could go on my Sooty and Sweep page? (everyone please try and read that with smutt mode disabled....)


MarsBar wrote:
Praise Tin! \o/ Cool

If only I still had the puppets from when I was a child. My avatar was done using Photoshop with an image I nicked from a Sooty website (not yours) Wink
 Back to top
View user's profile Send private message You must be logged in to rate posts

Mrs_Hippy
The Pink Lady



Joined: 07 Jul 2002
Karma :

PostPosted: 10:31 - 06 Apr 2003    Post subject: Reply with quote

Well if you want to get some new puppets I can point you in the direction of a ....... supplier....

MarsBar wrote:
MrsHippy wrote:
Have you got any photos of what you have been up to with Sooty and Sweep that could go on my Sooty and Sweep page? (everyone please try and read that with smutt mode disabled....)


MarsBar wrote:
Praise Tin! \o/ Cool

If only I still had the puppets from when I was a child. My avatar was done using Photoshop with an image I nicked from a Sooty website (not yours) Wink

____________________
Karma - Karma
 Back to top
View user's profile Send private message Send e-mail You must be logged in to rate posts
Old Thread Alert!

The last post was made 23 years, 210 days ago. Instead of replying here, would creating a new thread be more useful?
  Display posts from previous:   
This page may contain affiliate links, which means we may earn a small commission if a visitor clicks through and makes a purchase. By clicking on an affiliate link, you accept that third-party cookies will be set.

Post new topic   Reply to topic    Bike Chat Forums Index -> General Bike Chat All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Read the Terms of Use! - Powered by phpBB © phpBB Group
 

Debug Mode: ON - Server: birks (www) - Page Generation Time: 0.07 Sec - Server Load: 2.09 - MySQL Queries: 14 - Page Size: 71.65 Kb