Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Oh my gosh... I can't believe it!
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00465510
Message ID:
00465533
Vues:
7
>A few months ago we updated our app to VFP6 from VFP5. A form used to add records has worked perfectly in VFP5 however, we suddenly found that the drop down combo boxes are not being updated as the user adds new records in our VFP6 version. I have verified that the code DID NOT change, but VFP6 will not update the array for the rowsource of the combo box. Here's a brief summary...
>
>Form Property:
>laac[1,1]
>
>Combo Box Rowsource:
>THISFORM.laac
>
>Combo Box RowType:
>array
>
>After adding each new record we do this:
>select distinct field1,field2 from file into thisform.laac
>
>If you drop down the combo box, it does NOT contain the most recently entered data into field1 and field2. HOWEVER, the array, thisform.laac, is properly updated.
>
>If I attempt to update the rowsource with:
>thisform.cboLAAC.rowsource = thisform.laac
>
>I end up with nothing in the drop down combo box. I've tried just refreshing the combo box, but nothing that worked in VFP5 seems to work in VFP6.
>
>Any and all suggestions are greatly appreciated! I really need to resolve this quickly since we have a number of users who are wondering what gives...
>
>Thanks.

did you try "thisform.combobox.requery()"?
Rip Ryness
International Falls, MN
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform