Usenet.com

www.Usenet.com

Group Index

Comp Thread Archive from Usenet.com

<-- __Chronological__ --> <-- __Thread__ -->

Re: Need autoscript that doesn't run more than once



[EMAIL PROTECTED] (vincent pettes) wrote in message news:<[EMAIL PROTECTED]>...
> FM5.5 WINXP
> 
> I have an autoscript that start a file setting new record to the
> current date. What sometime happens is, someone will close the file,
> restart and I have a duplicate record for the same date. How do I
> prevent this from happening? I only want one record for each day. What
> would a script like that look like?
> vincent

Hazarding a guess... Maybe have a table with one record in it that
holds the last date the event took place.  If the date=currentdate,
then do nothing, otherwise, do something.



<-- __Chronological__ --> <-- __Thread__ -->


Usenet.com



Please check out one of the premium Usenet Newsgroup Service Providers below for access to Usenet.