Question

Fairlight fairlite at fairlite.com
Fri Jan 14 12:19:19 PST 2005


At Fri, Jan 14, 2005 at 02:43:52PM -0500 or thereabouts, 
suspect Courtney was observed uttering:
> Guys AND Gals
> 
> One of the reps here wants a report every other Friday...I was thinking of
> getting week number and dividing by two, if there is a remainder, than dont
> select...any other ways?  BTW...we run on UNIX so it would be a cron job...

My approach would be a bit unconventional compared to how Jay was trying to
do it, but I'd use conditional logic as illustrated by the pseudo-code below:

if runfile exists
     run report
     remove runfile
     end
if runfile does not exist
     create runfile
     end

....And I'd simply set this logic to run -every- Friday.  No worrying about
dates, etc.  It just flip-flops.
    
mark->
-- 
Bring the web-enabling power of OneGate to -your- filePro applications today!

Try the live filePro-based, OneGate-enabled demo at the following URL:
               http://www2.onnik.com/~fairlite/flfssindex.html


More information about the Filepro-list mailing list