Re: Search through list box on form open



You can't search through any Control in the Form Open event, because the
Controls haven't been initiated, yet. Form Load is the first event where
Controls are reliably available for use.

Larry Linson
Microsoft Access MVP

"Kaur" <kaurm@xxxxxxxx> wrote in message
news:1156946350.413633.240200@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,

I have developed an application in MS Access 2000 where I am trying to
highlight a record in the list box in form 2 based on the record
selected in form 1. The form 1 lists all the Document names and allows
me to add new documents. Form 2 has a list box that displays all the
document names. Clicking on a document in the list box shows me the
details of the selected document. I have over 100 documents in the list
box.
Basically what I am trying to do is from Form1 select a document and
open form 2 where the selected document in form 1 is highlighted in
form 2's document list box (without filtering the list box). This way
user does not have to search for the document he/she was on in form 1.

Any help would be appriciated.



.



Relevant Pages

  • Re: Need some help on forms
    ... You know with buttons, labels, picture boxes, lists & stuff like that. ... WizardController class to act as the user process component that controls ... In the Form designer select a ListBox that you want to bind to a data ...
    (microsoft.public.dotnet.framework.adonet)
  • RE: ASP.NET 2.0 Dropdownlist EnableViewState=false SelectedIndexCh
    ... model that was implemented in controls in ASP.NET 2.0, ... state to have the control update it's selectedindex between when the control ... reconstructed the dropdownlists on every postback. ... Lists in the ddl's are being rebuilt by overriding OnPreInit on page. ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Re: Selecting more than one item from a list.
    ... You mean a Delphi program? ... endless list of controls and non-visual controls in the palette; ... read once, but it's really about the lists of properties, methods, and ... up are writing your own classes when you need them (and equally important, ...
    (comp.lang.pascal.delphi.misc)
  • Re: How to bind to a drop down list in a grid.
    ... > I want to display some drop down lists in a grid. ... > the right place to bind the lists, ... > cant find an event during the load up that gives me access to the controls ...
    (microsoft.public.dotnet.framework.aspnet.datagridcontrol)
  • Re: HOW TO: Create a single DataSet bound object used by 50 DropDownList box controls in the same
    ... similar name that's different from other drop down lists on the form ... you can iterate through all the controls on the ... All web form datavalues will be one of the same 200 ... > Q. Exactly how do I use the same DataSet object in all 50 DropDownList ...
    (microsoft.public.dotnet.languages.csharp)