Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
1001 things - combo grid
Message
De
20/12/2004 10:26:33
 
 
À
20/12/2004 09:14:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00968770
Message ID:
00970629
Vues:
21
cControlsource needs to be a character field Thisform.Business.Data.Respond_id is an integer field (all my PKs are integers)if I link it to the company name it would not be a unique link. There could be more than one ACME Inc. for example..

That could be. Andy and I created the class and placed it in the public domain back in 1998, so it has been a while since I looked at it < s >.

Maybe the control does not work for me without modification....

That's why you have the source code < s >. All you need to do is remove this line:
IF ! EMPTY(.cControlSource)
  .txtSch.ControlSource = .cControlSource
from the DoSetup() method, leave txtSch unbound, and write some code to update the foreign key behind the scenes when a row is selected from the grid. You may have to add a couple of properties to the class to handle this genericly, but I am pretty sure that it can be accomplished without too much difficulty.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform