Problem with list

  • Thread starter Thread starter Robert Couchman
  • Start date Start date
R

Robert Couchman

Hello all,

i have a listbox that when double clicked will open up a
record...

....BUT...

....if you have not selected a record and double click it
returns the error....

Listbox2.list(listbox2.listindex)

**apparently doesnt exist**

anyone know how to solve this problem?????

Thank you,

Robert Couchman
 
if Listbox2.Listindex <> -1 then
Listbox2.list(listbox2.listindex)
End if
 
Cheers tom,

the code worked fine and now it is bug free :D

Thank you,

Robert Couchman
 

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