I would put an "assert .f. Message 'Env-Restoresets' " at the start of
your restoresets method (make sure asserts are on) and step through the
routine to pin down where it goes wrong.
Also
The hours code just sets the time back to what it was before. You use
it in the save and restores as well. Drop the 'set hours to &gcOldHour'
in the save and have only
'set hours to &gcOldHour'
in the restore.
--
Michael Hawksworth
Visual Fox Solutions
[EMAIL PROTECTED]
www.foxpro.co.uk
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.