Hi Dave,
>I have a form in which I use the load event to open tables and set orders and relations. The form also uses the dataenvironment with autoopen/closetables properties set to .F. In the load event I also use cursorsetprop to set buffering.
>Doesn't cursorsetprop change the dataenvironment cursor properties?
>
The CURSORSETPROP does change the properties and I am sure it works in your case as well. The problem which comes here is different. The sequence of operations would be something like this...
Form.Load()
DataEnvironment.Curor1.Init()
DataEnvironment.Curor2.Init()
DataEnvironment.DataEnvironment.Init()
This means that the DE is actually loaded after the Form.Load() is complete, hence the settings which you made are being overwritten by the DE default settings. Place the Code in the DataEnvironment.Init() and things should be fine.