Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
New entry for ComboBox
Message
 
 
À
23/09/2010 22:37:19
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01482502
Message ID:
01482508
Vues:
74
This message has been marked as a message which has helped to the initial question of the thread.
>Hi,
>
>Just doing a Requery() is apparently not enough. Can you elaborate on some details? Specifically:
>
>
  • What would you use for the ComboBox.RowSource and ComboBox.RowSourceType?

    I use something like 'csrClients' for the RowSource and RowSourceType is an alias (2 I think)

    >
  • What do you mean with "unbind and bind it again" - does this refer to blanking properties RowSource and RowSourceType?

    Yes, I set them to blank when I need to re-build, create the cursor and then set them back again.

    >
  • Do I understand that I just load the cursor in Form.Init(), and then re-load when I add a new client in the other form?
    >
    >Thanks,
    >
    >Hilmar.

    Yes, that's how I would do this. If you set cursor as a property in the property sheet, then you need to build the cursor in form's Load, not Init.
    If it's not broken, fix it until it is.


    My Blog
  • Précédent
    Suivant
    Répondre
    Fil
    Voir

    Click here to load this message in the networking platform