Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo/List Boxes not updating when value set
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00203971
Message ID:
00204004
Vues:
14
Do you fire your code from the same page? If not, VFP will refresh only the active page. The common solution is to have This.Refresh in all Page.Activate events, or you may call explicitly xtra.xcmbsolicitor.refresh

>Here is the scenario, we have a standard dropdown list, that is basically an override list (it is only actually dropped down, when they wish to override the standard commission solicitor), now based on the following the commissionable solicitor is taken from one of two places, either from the entry persons USERNO, or from the customers default solicitor. Both of these numbers (actually 4 length character fields) are stored in the COMMSOLSVIEW on our SQL server. The orderview view is simply the current order, or where the previous override, or values have been saved. IE: we have a CUSTOMER VIEW, ORDER VIEW, COMMISSIONABLE SOLICITORS (all the solicitors). We need to either pick and place the ONSCREEN (which is bound to orderview.commsol anyways) value to either the CUSTOMER SOLICITOR, or the USERNO, or OVERRIDE with the one from the DROP DOWN LIST.
>
>(the code below, programmatically assigns it... THIS IS NOT BEING DISPLAYED, unless I setfocus to the dropdown.)
>
>if gbCommissionable=.t. then
> xtra.pgfmain.pgorder.xcmbsolicitor.value=gsUsrno
>else
> xtra.pgfmain.pgorder.xcmbsolicitor.value=custview.solicitor
>endif
>
>
>----
>THANKS
>
>
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform