I currently HAVE a form...a "Summary List" it could be called...which
is
a contineous form...AND on this form are "Four fields" from EVERY
record (each on their own line) so to seak...like a running summary of
ALL the Records in the Database!
NOW upon clicking "one" of these lines...it then opens that specific
Record in the Database...which is linked through and by a "Record ID"!
The "four fields" that are exhibited in this contineous form, and
linked by the Record ID...are":
1.Vessel Name,
2.Description,
3.Date of Issue, and;
4.Due Date!
This contineous form is powered (obviously)....by a Query (titled
QryShipsInformation)...to extract the informaiton from the database and
display it on this form! (SummaryList)
Within the Summary List or Summary form...I have created a COmmand
Button which executes a CODE that Queries the database...NOT AN ACTUAL
QUERY itself...to see if any of the DUEDATES fall within the NEXT TWO
MONTHS....if they do...then it executes an Email to ME........NOW....I
have already completed the code for the date criteria and also the
email code...and this all work...when u click the command button...all
I need help on is to somehow
Automate this Command Button to Run the Code, say for example... Once a
Week...I have
already downloaded a Scheduler...thats easy....commanded it to run the
database on a certain day and time each week...all I need to know is
how would I automate code to when the scheduler executes the
programme....the easiest option would probably be to just place on the
Form's "On Load Event" or "On
Open" event I assume.......?
Any sugesstions?
Regards
Liam.