Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Combo Grid

34 views
Skip to first unread message

Chalom@discussions.microsoft.com Dorian C. Chalom

unread,
Feb 25, 2009, 2:29:02 PM2/25/09
to
I have a Combo box/Grid on my form.
Where when you select a value from the combo box it should filter the grid.
However for me it is not filtering the grid it is only moving the cursor to
the first row for the value of the combo box.

The combo box and grid are created through code of the form.

When I create a combo/grid set up on brand new form it works as it should.

What am I missing? Is there a setting I am missing?

Fred Taylor

unread,
Feb 26, 2009, 7:59:55 PM2/26/09
to
When you add your combobox via code, you also have to be sure to set the
.Visible property. Maybe that's what you're missing?

--
Fred

"Dorian C. Chalom" <Dorian Cha...@discussions.microsoft.com> wrote in
message news:C83BA26E-62E0-48AB...@microsoft.com...

Dorian C. Chalom

unread,
Feb 26, 2009, 9:02:40 PM2/26/09
to
Visible property?
I can see the combo box...
Do I still need to set the Visible property?

"Fred Taylor" <fta...@mvps.org!REMOVE> wrote in message
news:uUO8xaHm...@TK2MSFTNGP02.phx.gbl...

Fred Taylor

unread,
Feb 27, 2009, 8:13:31 PM2/27/09
to
Absolutely, you must set .Visible for it to work properly. Just because you
"see" doesn't mean VPF can handle it if it's not visible to it.

--
Fred

"Dorian C. Chalom" <DCh...@Comcast.net> wrote in message
news:eUP269Hm...@TK2MSFTNGP03.phx.gbl...

Dorian Chalom

unread,
Mar 2, 2009, 9:31:02 AM3/2/09
to
I tried setting the Visible propert of the comb box to true and still no
difference.
Instead of filtering to the value selected in the combo box the active row
of the grid becomes the first one for the combo box value.

ED

unread,
Mar 3, 2009, 10:25:28 PM3/3/09
to
Try SELECTing the table after you filter it, or GO TOP in the table. Maybe
even grid.refresh().

ED


"Dorian C. Chalom" <Dorian Cha...@discussions.microsoft.com> wrote in
message news:C83BA26E-62E0-48AB...@microsoft.com...

0 new messages