Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Three combos in a form
Message
De
29/08/2001 10:15:17
 
 
À
28/08/2001 07:58:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00548557
Message ID:
00550282
Vues:
27
>Thanks Crescencio for your help.
>
>I was cheking out the IC combobox and the only way that I could resolve the trouble was making a public variable.
>
>At final this is the code.
>At form init:
>public codigo
>
>At combobox 1:
>codigo=this.value
>select aimtabd1
>set filter to codimp=codigo
>select aimtabd2
>set filter to codimp=codigo
>sele tabmov
>
>The unique trouble that I have is when the user go to the next record the prewie record in the combobox desapear.
>
>What is your advise..???

If the filter criteria is the same for the other two tables, then the above code should work in the first combo's IC.

The testing I did was with the following settings:

- For Column's (Grid) controlsource, the field that should take the value selected from the combobox. In your example, the first column would be tabmov.codimp. Also, this works with the column's Sparse property set to .T. (Default).

- For the comboboxes: (example is for first col)
Rowsourcetype = (Fields)
Rowsource = tipimp.codimp, desimp
Boundcolumn = 1
Columncount = 2

HTH
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform