Subject Re: combobox
From Ken Mayer <dbase@nospam.goldenstag.net>
Date Sat, 9 Mar 2024 08:05:46 -0800
Newsgroups dbase.getting-started

On 3/9/2024 7:29 AM, Charlie wrote:
> Curious, I am trying to use a combobox which works great.  What I am trying to do is list what is in the datasource and allow the user to select a name wkich is working fine.  .  My idea is that there be a way for the user to be able to add a name if it doesn't exist in the dropdown.  I am not exactly sure how to handle this.  Possibly I need to use a different component?  I could use another entryfield that the user could type the name in if he doesn't find it but just wondering if there is a way that would be less confusing?

Which style combobox are you using? What is the datasource for your
combobox? If it is from a field in a table, you would need to see if
what they typed was in the table, and if not, add it ...

Ken

--
*Ken Mayer*
Ken's dBASE Page: http://www.goldenstag.net/dbase
The dUFLP: http://www.goldenstag.net/dbase/index.htm#duflp
dBASE Books: http://www.goldenstag.net/dbase/Books/dBASEBooks.htm
dBASE Tutorial: http://www.goldenstag.net/dbase/Tutorial/00_Preface.htm
dBASE Web Tutorial: http://www.goldenstag.net/dbase/WebTutorial/00_Menu.htm
dBASE DOS to Windows Tutorial:
http://www.goldenstag.net/dbase/DtoWTutorial/00_Menu.htm