Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ListBox shows duplicate entries (RowSource= Alias)??
Message
De
01/05/1998 13:33:26
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
01/05/1998 13:27:15
Ray Watson
A Certified Electronics Co
Knoxville, Tennessie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00096323
Message ID:
00096326
Vues:
17
>Hi everyone,
>Its friday and I'm probably brain dead but...
>
>I have a form with a DE defined with two tables A & B
>A relation is set between the tables as follows,
> A is the parent to B
> One-To-Many is .T.
>
>On the form I have a Listbox with the RowSource set to ALIAS,
>and the RecordSource set to A.Name
>
>Also on the form is a grid with its RecordSourceType = Alias and
>its RecordSource = B
>
>The problem: The listbox shows a duplicate entry for each record
>in B, I only want one entry in the listbox with all the child
>records in the Grid
>
>TIA
Ray,
When rowsourcetype is set to alias you force rec pointer to move in actual table. Changing it to SQL could be better.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform