Re: Combo box for search history?

From: Michael Wong (email_at_notvalid.in.here)
Date: 04/22/04


Date: Thu, 22 Apr 2004 12:33:47 +1100

Yes, it's not as difficult as I first imagined it.

Thanks a lot

"Jonathan Parminter" <anonymous@discussions.microsoft.com> wrote in message
news:27b701c427f2$e7e28ed0$a001280a@phx.gbl...
> 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: Clarett Cut By Broncos
    ... >> Michael wrote: ... >>> The Broncos are flush with backs. ... >> he was 4th string, behind Ron Dayne, and NEVER played in presesason, ... >> nursing a little hamstring injury. ...
    (rec.sport.football.college)
  • 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: Forms Auth with AD Native Mode
    ... Here's the bulk of my LDAPAuthentication class. ... private string _filterattribute; ... >> Michael, ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: SHA-1 broken
    ... it's a string - and it can only be the inverse of one, ... >> going to make it exponentially harder to crack by composing. ... >> You'd really have to get a new algorithm. ...
    (Bugtraq)