Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
1001 things - combo grid
Message
De
18/12/2004 16:20:24
 
 
À
18/12/2004 09:48:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00968770
Message ID:
00970339
Vues:
20
Hi Marcia,

I di what you said. But the combo box is invisible at runtime.

By the way this is a self joined table:

respond_id PK
company
address
city
...
parent_id (this is a pointer to the respond_id of another record in the same table)
....

Thanks


>Hi Peter.
>
>the textbox should be bound to thisform.business.data.PARENT_ID (current record displayed by the form) and should display respond.company (the record in the table called respond the business obj alread has that table open) belonging to the record with a PK equal to thisform.business.data.PARENT_ID
>
>Off the top of my head, this does not seem corect. I assume that you may have many children for a single parent_id and, therefore, you want to have the textbox bound to the respond_id because it will then be bound to a single value.
>
>the grid should display the company from the table respond and sit on the record with a PK equal to thisform.business.data.PARENT_ID
>
>Again, off the top of my head and untested, you would set the acboGrid class up like this:
>
>
>cAlias = "respond"
>cColSource = "< whatever columns you want displayed in the grid >"
>cControlSource = "Thisform.Business.Data.Respond_id"
>cKeyField = "respond_id"
>cSchStr = "company"
>cTagName = "company"
>
Peter Cortiel
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform