Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange Message appears when I load & unload DataSession
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Strange Message appears when I load & unload DataSession
Miscellaneous
Thread ID:
00959433
Message ID:
00959433
Views:
44
Yesterday I change DataSeesion of à Form from Private to Default & some strange message begins to appear. Here Is my code:
thisform.DataEnvironment.CloseTables() && I need to be shure that all tables in DE are closed
CLOSE DATABASES ALL                    && I want ALL tables to be closed

WITH thisform
      .SetAll("Exclusive",.t.,"Cursor")  && Here is where the first time that message appears on screen
ENDWITH

thisform.DataEnvironment.OpenTables()   && Here the message appears again
The message is "Property setting will not take effect until data environment reloaded"


I check the help & it sais:
You attempted to set a property on a data environment object (Relation, Cursor) while the data environment is loaded. The property value will be stored with the object, but the property will not take effect until the data environment is unloaded and then reloaded.

To unload the data environment
Issue CloseTables in the form: && I DO THAT

To reload the data environment
Issue OpenTables in the form:

The message is not like an error messsage, It is with warning sign & has NO error code, also does not handeled from My Error handler.


TIA
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Reply
Map
View

Click here to load this message in the networking platform