Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I use View in CreateObject Form?
Message
 
À
08/06/1998 23:36:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00106164
Message ID:
00106262
Vues:
27
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform