WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Database Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Database Discussion Forum This is the place to find help resolving those nagging questions you have about implementing and using all kinds of databases. Need help writing a query? Need an opinion on Oracle? Post here!

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-10-2006, 12:53 PM
WebProWorld New Member
 

Join Date: Oct 2006
Posts: 1
DaveJP7232 RepRank 0
Default Question about MS Access

Hello, I hope someone can help me. I'm designing a Billing/Collection System with MS Access 2000 (which I'm new to), I've had some experience with Oracle PL/SQL but very little with Access & VB.
I need text to be entered in a "notes" field (for an existing record) when a customer's due date is a certain number of days away (60 days before due date "call customer to ensure satisfaction", 30 days before, "mail invoice"). I created a form in Access that contains text boxes with the "notes" and "due_date" fields (and others of course) but I can only figure out how to build an event that updates the notes field when the due_date field is entered as a new record (using an afterUpdate event). I need the notes field to be updated automatically for the due_date fields that already exist within the database. If anyone can help me out, I would greatly appreciate it, thanks, Dave
Reply With Quote
  #2 (permalink)  
Old 02-16-2007, 08:29 AM
WebProWorld Member
 

Join Date: Sep 2005
Location: Bracknell
Posts: 45
opel RepRank 0
Default

Hi Dave,

I run lots of 'auto tasks' on my company access databases and have always found the easiest way is to create either a macro or a module(called from a macro) which does the work and then on the server/pc thats never turned off set a scheduled task,

ie:
C:\PROGRA~1\MICROS~3\Office\MSACCESS.EXE i:\choice\contracts.mdb /x reminder

the macro : reminder
in the database : contracts.mdb
is scheduled to run on the 1st of every month.

This is a great way to set it and forget it,
I have built into the macro error handling as well so that should the macro/module fail -I get an email telling me the database name, macro name and the error, so I can sort out the problem.

Also, I would advise to start with have the macro/module send you an email to let you know it worked!

hope this helps.
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Database Discussion Forum
Tags: ,



Thread Tools
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

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


Search Engine Optimization by vBSEO 3.2.0