Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
1001 things - combo grid
Message
De
18/12/2004 09:48:08
 
 
À
13/12/2004 11:16:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00968770
Message ID:
00970314
Vues:
16
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"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform