>Do I have to set the view properties each time I use it or can they be set in the DBC? The reason I ask is I have tried using CURSORSETPROP() with the view open in the DBC and have not been able to get the settings to hold. The next time I use the view the settings are lost.
>
>Thanks for any help.
>
Steve, to set view properties permanently you are supposed to use DBSetProp().
To get a sample how to setup all necessary view properties you can run GENDBC (under \VFP\Tools\Gendbc in your VFP installation). It will generate all code necessary to recreate your DBC. Then you fix the code for your view as you need it.
Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison