Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What do you think of this picklist idea?
Message
From
13/07/1998 13:49:57
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
13/07/1998 13:36:58
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00116853
Message ID:
00116861
Views:
14
>I'm interested in building a ComboBox picklist that has a '< New >' selection in it (like Quicken's Pulldown picklists).
>I don't like the idea of using a view as the RowSource, because of the constant Requery()s, so I'm thinking of using the base table and (1) appending a blank record (with '< New >' as the name), (2) deleting it (and re-appending it if a pack is done), (3) always using buffering for the forms that use it, and (4) Recalling it in GotFocus() and Deleting it again in LostFocus().
>
>What kind of problems do you think I'll run into?
>
>TIA
Bill,
With "new" as an option it's open to false newitems, right (ie: Mushroom where already MUSHROOM exist or A.Appendicitis where Acute Appendicitis already is there) ? If this is acceptable what about setting rowsource to SQL (distinct) and union current displayvalue in a common upper, lower or proper format?
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform