Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp50 - Trying a make an editable COMBO BOX?
Message
De
15/04/1997 15:26:20
 
 
À
15/04/1997 15:04:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00028393
Message ID:
00028404
Vues:
49
>>>>I am trying to make a COMBO BOX or LIST BOX where I can
>>>>add/delete/change records and the records will be
>>>>reflected in the TABLE.
>>>>
>>>>help
>>>
>>>Grid is appropriate control for this purpose. You could use Combo or List too, but this will involve specific coding.
>>
>>I have been using a GRID in a small FORM with a little menu
>>at the bottom (add/del/change), but I thought the OOP way is to use a LIST BOX and write some code..I really need some samples for this one.
>
>Ok. 'Delete' is simple:
>if thisform.list1.listindex>0
>Select listsource
>Delete
>thisform.list1.requery
>endif
>
>For 'Add','Change' you should bring up set of controls (or new form) where user will enter/edit field values and then 'Save' to update table and requery listbox.

thanks. I will try it...
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform