If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ANSI SQL > SLQ code for sending email

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-05-04, 20:33
MauiJon MauiJon is offline
Registered User
 
Join Date: Jan 2004
Posts: 2
Lightbulb SLQ code for sending email

I'm currently programming a database in Access 97 and I wanted to do 2 things but its been a while so I was wondering if anyone could help.

I want to be able to send an email using a string from a table - with the click of a button

I want to be able to run a query that would check a birthdate sting in a table with the system clock to see if a reminder should go off to remind of a birthday.

Any ideas? Thanks
Reply With Quote
  #2 (permalink)  
Old 01-06-04, 04:09
r123456 r123456 is offline
Registered User
 
Join Date: Sep 2003
Location: The extremely Royal borough of Kensington, London
Posts: 778
To compare two dates where one is a string, use the CDATE function.

CDATE(string) = date.
__________________
Bessie Braddock: Winston, you are drunk!
Churchill: And Madam, you are ugly. And tomorrow, I'll be sober, and you will still be ugly.
Reply With Quote
  #3 (permalink)  
Old 01-06-04, 13:19
MauiJon MauiJon is offline
Registered User
 
Join Date: Jan 2004
Posts: 2
Quote:
Originally posted by r123456
To compare two dates where one is a string, use the CDATE function.

CDATE(string) = date.
Does that code just convert the string to a date data type or does it actually query the system clock?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On