Re: Combo box for search history?

From: Jonathan Parminter (anonymous_at_discussions.microsoft.com)
Date: 04/21/04


Date: Wed, 21 Apr 2004 15:49:29 -0700

Michael, a value list is simply a text string with each
item separated by a semi-colon.

lst.rowsource="One;Two;Three"

luck
Jonathan

>-----Original Message-----
>Thank you Jonathan,
>
>I'll try to do it, but may be with a combo box which I
like the autocomplete
>feature. I've never tried to use the value list as a row
source yet. This
>one will be my first time.
>
>
>Thanks
>
>"Jonathan Parminter"
<anonymous@discussions.microsoft.com> wrote in message
>news:1f2801c42751$fbba2090$a301280a@phx.gbl...
>> Hi Michael,
>> to preserve user information for each user in a
multiuser
>> setup consider having a local table for this purpose...
>> assuming each user has a designated front-end.
>>
>> to keep a search history you could use a listbox that
has
>> a value list as a row source. You can use an array or
>> simple text functions to manipulate the listbox items
(or
>> even a local table).
>>
>> Luck
>> Jonathan
>>
>>
>> >-----Original Message-----
>> >I want to have a combo box on my form where the user
>> enters the string he
>> >would like to search. The combo box would remember what
>> the user entered but
>> >limiting the number of entries to N, keeping only the
>> most recently entered
>> >string. It's a sort of search history.
>> >
>> >I've seen this code once but couldn't find it anymore.
>> Can someone tell me
>> >where to find it or just give me a hint of how to do
it?
>> >
>> >Also, the entries need not be kept in the database to
be
>> used from session
>> >to session, which I think would be a problem for a
multi-
>> user environment
>> >(it's a back-end file), which I don't know how to
>> separate the entries from
>> >one user to another.
>> >
>> >Thanks.
>> >
>> >
>> >.
>> >
>
>
>.
>



Relevant Pages

  • Re: Still in while loop hell, Now with refined question!
    ... Besides all the advice on how to get a line in to your program, you have a separate problem of how to do the loop, and how to stop it. ... public String retrieveLine() ... Now you need to have an addmethod in NodeWorker. ... This is where you use that one part of your original program where you manipulate head and prev. ...
    (comp.lang.java.programmer)
  • Re: Extract data from String
    ... I need to split this data out into separate columns. ... a random length depending on the data in it. ... string as it is, the following one shows how it should be split up into ... The same functions can be run from within VBA using the RUN ...
    (microsoft.public.excel.programming)
  • Re: inserting CString into text file
    ... Much appreciated, Jonathan. ... I don't have a reference in front of me but writing a string to a CFile ... Copying a string to a buffer might look something like this: ...
    (microsoft.public.vc.mfc)
  • Re: Creating, Populating, and Using a 2-dimensional array
    ... "Jonathan West" wrote: ... each one, take the first three characters of the document name, fill a ... searching and replacing with the text string, ... "For...Next" loop that I wanted to do to go through the Dir's. ...
    (microsoft.public.word.vba.general)
  • Re: Custom Function
    ... That would certainly solve the need for the custom function ... if the values were in separate fields... ... > Regarding>The Val function returns the first set of consecutive ... > numbers are first in the string, ...
    (microsoft.public.access.reports)