Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo boxes getting set to default on form refresh()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01417734
Message ID:
01417740
Vues:
36
>>I have a form with 2 combo boxes set as follows:
>>Cmb 1:
>>RowSource = c_cursor.fldname
>>RowSourceType = 2 - Alias
>>ControlSource = Thisform.startname
>>
>>Cmb 2:
>>RowSource = c_cursor.address
>>RowSourceType = 2 - Alias
>>ControlSource = Thisform.startaddr
>>
>>The InteractiveChange Event for both call a method that gets the keys from each cursor and looks up a record in another table. All this works till the form refresh() is called in the lookup method. The both combo boxes revert back to the 1st record in each cursor.
>>
>>If I comment out the refresh() it works.
>>What's up?
>
>Set both RowSourceType to 6 - Fields

Set both as you suggested to 6 - Fields (checked to make sure it was changed after test)
Thanks for the try but nothing changed.
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform