Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange Message appears when I load & unload DataSession
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Strange Message appears when I load & unload DataSession
Divers
Thread ID:
00959433
Message ID:
00959433
Vues:
45
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.
Répondre
Fil
Voir

Click here to load this message in the networking platform