Home > Archive > Programming with dBASE > May 2005 > list box search









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author list box search
Will

2005-05-09, 8:23 pm

I need to know if it is possible to search a list box. I have a list of
value in a listbox, and I need to be able to search
the list to find a specific value. Just like you would use the
findkeynearest on a grid.


Ken Mayer [dBVIPS]

2005-05-09, 8:23 pm

Will wrote:
> I need to know if it is possible to search a list box. I have a list of
> value in a listbox, and I need to be able to search
> the list to find a specific value. Just like you would use the
> findkeynearest on a grid.


Where is the list coming from?

Ken

--
/(Opinions expressed are purely my own, not those of dataBased
Intelligence, Inc.)/

*Ken Mayer* [dBVIPS]
/Golden Stag Productions/
dBASE at goldenstag dot net
http://www.goldenstag.net/GSP
http://www.goldenstag.net/dbase
Will

2005-05-09, 8:23 pm

The list made up of two fields that are combined together to form an
address. Both fields are from the same table. The listbox is a list of
addresses in alphabetical order
"Ken Mayer [dBVIPS]" < dbase@_nospam_golden
stag.net> wrote in message
news:WrhhHMOVFHA.1768@news-server...
> Will wrote:
>
> Where is the list coming from?
>
> Ken
>
> --
> /(Opinions expressed are purely my own, not those of dataBased
> Intelligence, Inc.)/
>
> *Ken Mayer* [dBVIPS]
> /Golden Stag Productions/
> dBASE at goldenstag dot net
> http://www.goldenstag.net/GSP
> http://www.goldenstag.net/dbase



*Lysander*

2005-05-10, 3:23 am

In article <3NdicUOVFHA.1768@news-server>, toquerrio@hotmail.com says...

I am not using listboxes, but as I remember you can make a search-run on=20
the datalinked table, just *indeed* with findkey() or findkeynearest()=20
and then the listbox will automagically select the found item or jump=20
again to the top or end of the set.

--=20
ciao,
Andr=E9
~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~
~
European dBase-conference dBKonEurope on June 3rd and 4th
English spoken conference around different database-topics
::
Info here: www.dbkon.org
Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com