I've added the following after setting the name, and also moved the save into this block:
*if* (char 1 to 6 of bkNm) <> (char -17 to -12 of the long name of this stack) *then* *--date has changed* bmpVrsn stkNm *else* *save* this stack *end* *if* bmpVrsn is my routine to bump the filename. Without this, it would keep backing up yesterday's file . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode