Access & ListView control

camilovic

Registered User.
Local time
Today, 09:37
Joined
May 19, 2003
Messages
27
In search form I have listview control in which I load data witout problem.
I try to use .FindItem property to locate the record (depending of search string) but without success. I receive error message “Invalid property value”
Where I’m wrong?
 
"Listview control" is not a word of art in Access. I don't understnad your question, but I'm not too smart.
 
llkhoutx

I talk about using ListView (ActiveX) control from MSWindows Common Controls 6.0 (SP4) in MSAccess forms.
 
The "I'm not too smart" is operative. I don't use ActiveX control.
 
What exactly are you trying to do? Locate an item in the listview control or opening a form (or something else) when clicking on it?
 
danikuper

Thank you for answer. I trying to locate an item in ListView control. FindItem property works fine in VB6 to locate an item in listview control.
Comment..
 
I'm not familiar with the finditem property. Sorry....

Why exactly are you trying to do that anyway?
 
I'll try to make advanced search form using KeyUp/KeyPress event. Look attached file. That's sample with classic MSAccess ListBox control.
But, ListView control (from MS Windows CommonControls 6) have greater capability than listbox. In VB6 is very simple to do that using FindItem property. But in MSAccess same code do not work.
If you use VB6 I can send that project, too.
Thanx
 

Attachments

Users who are viewing this thread

Back
Top Bottom