choose record from listbox

  • Thread starter Thread starter Kathleen Hover
  • Start date Start date
K

Kathleen Hover

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
 
Find out *which* line of code that error out and check the spelling of
name(s) on this line of code.
 
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
 
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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top