Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp50 - Trying a make an editable COMBO BOX?
Message
From
15/04/1997 15:26:20
 
 
To
15/04/1997 15:04:55
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00028393
Message ID:
00028404
Views:
47
>>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform