>Here is the code:
>*Close data
>
>* set step on
>Open data l:\ves\data\ves
>
>*-- load this data environment in form dummy
>ot1=create('dummy')
>ndatasess = ot1.DataSessionID
>Set DATASESSION TO ndatasess
>
>If ! used('lv_master2_config')
> Use lv_master2_config in 0
>Endif
Are you getting the error on the line that opens the database or on the line that uses the view?
>The lockscreen is .false. showing default in the properties. When I take the default vfp base textbox is reacts the same way?
Lockscreen gets changed dynamically at run time. You need to check the value at runtime when you've encountered the error.
Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com