Yesterday I change DataSeesion of à Form from Private to Default & some strange message begins to appear. Here Is my code:
thisform.DataEnvironment.CloseTables()
CLOSE DATABASES ALL
WITH thisform
.SetAll("Exclusive",.t.,"Cursor")
ENDWITH
thisform.DataEnvironment.OpenTables()
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.