Ask a Question related to Microsoft Access, Design and Development.
-
Ryan #1
List box not populating fully.
Hi all,
I have encountered a very strange problem on one of my
list boxes. When I open the form it is on, the listbox
populates correctly based on the query source. One of the
parameters in the query is a combo box on the same form
which is used as a filter by means of the after update
event and list box's requery method.
Although it is correct when the form first opens, each
subsequent requery only populates the listbox until the
bottom of the listbox is reached then stops. ie - where
it should keep populating (thus requiring a scrollbar), it
doesn't.
Any ideas?
Thanks,
Ryan
Ryan Guest
-
Populating a <mx:List> with XML
I am trying to do a simple list population with a series of names from a local XML file. I'm looking for direction regarding how to pull my element... -
Error populating list
Hi! I have a document with two listboxes, one called "lista_firenze" and the other called "lista_toscana". The "lista_toscana" has no problem, the... -
Populating an array with a list of values
I have performed a cfhttp request, the results of which are in a variable called FoundString. Found String consists of a list of website links, I... -
Populating three list boxes from the database
Can anybody help? I need to have three list boxes automatically populating each other, (ie when region is selected from the first listbox, it will... -
Dynamical populating a list that can be used as drop down list
Hi, I have a solution in which a person can be a member of one or more groups. In this case the groups are those used in the protection schema of... -
Bruce Loving #2
Re: List box not populating fully.
how are you changing the listbox in the afterupdate event?
are you doing anything with Filters?
On Wed, 16 Jul 2003 06:45:19 -0700, "Ryan" <kalsonik@hotmail.com>
wrote:
>Hi all,
>
>I have encountered a very strange problem on one of my
>list boxes. When I open the form it is on, the listbox
>populates correctly based on the query source. One of the
>parameters in the query is a combo box on the same form
>which is used as a filter by means of the after update
>event and list box's requery method.
>
>Although it is correct when the form first opens, each
>subsequent requery only populates the listbox until the
>bottom of the listbox is reached then stops. ie - where
>it should keep populating (thus requiring a scrollbar), it
>doesn't.
>
>Any ideas?
>
>Thanks,
>RyanBruce Loving Guest
-
Ryan #3
Re: List box not populating fully.
Yes ... this is how it works:
Combo boxes are used to set the filter parameters. When
any of the combo boxes are changed, the afterupdate event
of the combo box activates the listbox.requery. The list
box is based on a query that uses the value of the combo
boxes as criteria for filtering. Note: I am not using
the filter property of the form in any way. Just the
WHERE clause in the SQL.
I have programmed other listbox controls in the db in a
similar fashion ... this is the first time the list box
has behaved poorly.
event?>-----Original Message-----
>how are you changing the listbox in the afterupdate<kalsonik@hotmail.com>>are you doing anything with Filters?
>
>On Wed, 16 Jul 2003 06:45:19 -0700, "Ryan"the>wrote:
>>>Hi all,
>>
>>I have encountered a very strange problem on one of my
>>list boxes. When I open the form it is on, the listbox
>>populates correctly based on the query source. One ofwhere>>parameters in the query is a combo box on the same form
>>which is used as a filter by means of the after update
>>event and list box's requery method.
>>
>>Although it is correct when the form first opens, each
>>subsequent requery only populates the listbox until the
>>bottom of the listbox is reached then stops. ie -it>>it should keep populating (thus requiring a scrollbar),>>>doesn't.
>>
>>Any ideas?
>>
>>Thanks,
>>Ryan
>.
>Ryan Guest



Reply With Quote

