|
-
Nov 8th, 2005, 09:33 AM
#1
Thread Starter
Hyperactive Member
Count down days
Hi
I have an access database with a field called "Days remaining" now what i need to do is, say if an amount of days gets added to the field for instance
365 then everyday that amount must decrease by one. is this possible, please can someone help me.
Many thanks
-
Nov 8th, 2005, 09:48 AM
#2
Frenzied Member
Re: Count down days
If you mean by just using sql Server you could just have a scheduled task that runs once every day and runs an sp that updates all values for that field which are greater than 0 by minus one.
Last edited by FishGuy; Nov 8th, 2005 at 11:32 AM.
-
Nov 8th, 2005, 09:53 AM
#3
Re: Count down days
Alternatively you could have a View, which contains the other fields from the table, and this field calculated using SQL.
This method will slow down access to the data tho.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|