Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do you display a view in a ListBox?
Message
De
28/09/1999 15:47:22
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
À
28/09/1999 15:40:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00270166
Message ID:
00270177
Vues:
19
Harry-

Have you added the view to the DataEnvironment? Have you *also* added the table (you probably shouldn't)? Just as a test, try setting the view's NoDataOnLoad to .T. in the DE.

>Greetings and Salutations!
>
>I have created a view from a table that removes over half the records of the original table. I have BROWSE'd the view to confirm that this is true. Now I want to display the view in a ListBox control and I am using a RowSourceType of < 6 - Fields > and a RowSource of < view.field1,field2,field3 >.
>
>When the list displays on the form the correct fields are displayed, but ALL the records from the original table are displayed, not the scoped records of the view.
>
>What am I doing wrong?
>
>Cheers, Harry
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform