These are the program errors I get:
Unrecognized command verb.
Syntax error.
File does not exist.
Cannot open file c:\documents.dbf

[snip]


FYI. The Environment class has the properties and methods recommended, i.e.:
DoSets, SaveSets, and RestoreSets. The DoSets and the RestoreSets methods
are called from the Init and Destroy events with the requisite this.dosets,
and this.restoresets, respectively.

Any insight out there?


Hi Pablo,

Your calls to the SaveSets and RestoreSets procedures should have parentheses on the ends, like this:

This.SaveSets()

This.RestoreSets()

Otherwise, VFP may think you're referring to properties rather than methods of the object, and if properties with those names don't exist, you'll get the first, and perhaps second, error on your list. Probably the other errors result when your code continues on and expects to find the environment changed when it hasn't been.

Ken Dibble
Southern Tier Independence Center
www.stic-cil.org



_______________________________________________
Post Messages to: ProFox@leafe.com
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.

Reply via email to