Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I use View in CreateObject Form?
Message
 
To
08/06/1998 23:36:19
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00106164
Message ID:
00106262
Views:
26
>Because In Form.load
>
>I want to use view:
>
>* FormCreateObj1.Load
>Use MyView in 0
>
>* the above line cause error that c:\MyProject\MyView.dbf not found!
>* but I only know: Use ViewName to open view
>

To open a view you must first open a database container (since that is where all your views reside).


USE SHARED
USE MYDBC!MYVIEW


That should do the trick.

Michael G. Emmons
memmons@nc.rr.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform