Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

choose record from listbox

Discussion in 'Information Technology' started by Kathleen Hover, Nov 3, 2005.

  1. Kathleen Hover

    Kathleen Hover
    Expand Collapse
    Guest

    Hi,

    I'm trying to write code to choose a record from a listbox and display it in
    a pre-existing form. When I run the code, the error I get is that it can't
    find the form. The form is named correctly in the code. Is there something
    I am missing here?

    Thanks, Kathleen
     
  2. Loading...

    Similar Threads Forum Date
    Regarding Panj Pyare Choosen for Amrit Sanchar Blogs Oct 21, 2015
    What is the main factor to choose your Gurudwara? New to Gurdwara Jun 6, 2012
    Sikh News Let Banggarma choose her own religion Breaking News Nov 25, 2009
    Only Who.res Choose Their Partners Hard Talk Sep 8, 2009
    Sikh News Youth Congress chooses Punjab for poll project (New Kerala) Breaking News Aug 31, 2008

  3. Van T. Dinh

    Van T. Dinh
    Expand Collapse
    Guest

    Find out *which* line of code that error out and check the spelling of
    name(s) on this line of code.

    --
    HTH
    Van T. Dinh
    MVP (Access)



    "Kathleen Hover" <redwhisk@comcast.net> wrote in message
    news:-oOdnbeKv-cF8fTeRVn-iw@comcast.com...
    > Hi,
    >
    > I'm trying to write code to choose a record from a listbox and display it
    > in a pre-existing form. When I run the code, the error I get is that it
    > can't find the form. The form is named correctly in the code. Is there
    > something I am missing here?
    >
    > Thanks, Kathleen
    >
     
  4. Kathleen Speck

    Kathleen Speck
    Expand Collapse
    Guest

    Hi,

    It is spelled correctly. As a matter of fact, just to make sure, I renamed
    the form and renamed/respelled it in all instances in the code. It still
    can't find it. Is there someway that I am supposed to link this in a
    different way than just referring to it? And, yes, the form is in the same
    database as the code.

    Thank you,
    Kathleen
    "Van T. Dinh" <VanThien.Dinh@discussions.microsoft.com> wrote in message
    news:%23aI5xyB4FHA.700@TK2MSFTNGP15.phx.gbl...
    > Find out *which* line of code that error out and check the spelling of
    > name(s) on this line of code.
    >
    > --
    > HTH
    > Van T. Dinh
    > MVP (Access)
    >
    >
    >
    > "Kathleen Hover" <redwhisk@comcast.net> wrote in message
    > news:-oOdnbeKv-cF8fTeRVn-iw@comcast.com...
    >> Hi,
    >>
    >> I'm trying to write code to choose a record from a listbox and display it
    >> in a pre-existing form. When I run the code, the error I get is that it
    >> can't find the form. The form is named correctly in the code. Is there
    >> something I am missing here?
    >>
    >> Thanks, Kathleen
    >>

    >
    >
     
  5. Ken Snell [MVP]

    Ken Snell [MVP]
    Expand Collapse
    Guest

    Is the form serving as a subform in another form?

    --

    Ken Snell
    <MS ACCESS MVP>

    "Kathleen Speck" <redwhisk@comcast.net> wrote in message
    news:wYidnQiYms-v5vTeRVn-og@comcast.com...
    > Hi,
    >
    > It is spelled correctly. As a matter of fact, just to make sure, I
    > renamed the form and renamed/respelled it in all instances in the code.
    > It still can't find it. Is there someway that I am supposed to link this
    > in a different way than just referring to it? And, yes, the form is in
    > the same database as the code.
    >
    > Thank you,
    > Kathleen
    > "Van T. Dinh" <VanThien.Dinh@discussions.microsoft.com> wrote in message
    > news:%23aI5xyB4FHA.700@TK2MSFTNGP15.phx.gbl...
    >> Find out *which* line of code that error out and check the spelling of
    >> name(s) on this line of code.
    >>
    >> --
    >> HTH
    >> Van T. Dinh
    >> MVP (Access)
    >>
    >>
    >>
    >> "Kathleen Hover" <redwhisk@comcast.net> wrote in message
    >> news:-oOdnbeKv-cF8fTeRVn-iw@comcast.com...
    >>> Hi,
    >>>
    >>> I'm trying to write code to choose a record from a listbox and display
    >>> it in a pre-existing form. When I run the code, the error I get is that
    >>> it can't find the form. The form is named correctly in the code. Is
    >>> there something I am missing here?
    >>>
    >>> Thanks, Kathleen
    >>>

    >>
    >>

    >
    >
     
  6. Van T. Dinh

    Van T. Dinh
    Expand Collapse
    Guest

    The gist of my previous reply is that it is important to actually identify
    the line of code that errored out and check from there since it is common
    for us to think the error comes from one line of code while the error
    actually comes from another line of code.

    Did you actually use the debugging to identify the line of code that errored
    out?

    --
    HTH
    Van T. Dinh
    MVP (Access)



    "Kathleen Speck" <redwhisk@comcast.net> wrote in message
    news:wYidnQiYms-v5vTeRVn-og@comcast.com...
    > Hi,
    >
    > It is spelled correctly. As a matter of fact, just to make sure, I
    > renamed the form and renamed/respelled it in all instances in the code.
    > It still can't find it. Is there someway that I am supposed to link this
    > in a different way than just referring to it? And, yes, the form is in
    > the same database as the code.
    >
    > Thank you,
    > Kathleen
     

Share This Page