User has to toggle filter to see data after combo update

M

M Skabialka

I have a database that was designed in Access XP and used in Access 2003 and
2007. One of my users showed me that in forms with a combo to select the
contents of the subform, nothing shows up after the combo selection is made.
However if they click in the subform, then click the Toggle filter button on
the ribbon, they get the data they wish to see. What command can I use
after updating the combo to perform the toggle filter function so they don't
have to when they view it in Access 2007? This is not a problem if I open
it in Access 2003.
Mich
 
P

Pete D.

I found that the form open filtered was turned on when I first moved form to
2007. Once I corrected it in 2007 and saved form it stopped. Found no rime
or reason to it other then last filter used in 2003 stuck when opened in
2007 first time. Curious to see if you find any other solution.
Pete D.
 
M

M Skabialka

Where do you find this property?

Pete D. said:
I found that the form open filtered was turned on when I first moved form
to 2007. Once I corrected it in 2007 and saved form it stopped. Found no
rime or reason to it other then last filter used in 2003 stuck when opened
in 2007 first time. Curious to see if you find any other solution.
Pete D.
 
M

M Skabialka

I found "Filter On Load" and it makes no difference whether it is on or off
on the main form or the subform. I still get no records unless I click the
Toggle filter button. I also tried the FilterOnEmptyMaster property to no
avail.
Allow Filters is yes
I also tried all of the following:
[frmAssignmentDetail subform1].Requery
[Forms]![frmAssignmentDetail]![frmAssignmentDetail subform1].Requery
Me.Requery
Form.Requery
Me.Refresh
DoCmd.ShowAllRecords
etc
 
M

M Skabialka

Finally got it working using:
[frmAssignmentDetail subform1].Form.FilterOn = True
[frmAssignmentDetail subform1].Requery
 
P

Pete D.

Did you really need the requery?
M Skabialka said:
Finally got it working using:
[frmAssignmentDetail subform1].Form.FilterOn = True
[frmAssignmentDetail subform1].Requery

Pete D. said:
I found that the form open filtered was turned on when I first moved form
to 2007. Once I corrected it in 2007 and saved form it stopped. Found no
rime or reason to it other then last filter used in 2003 stuck when opened
in 2007 first time. Curious to see if you find any other solution.
Pete D.
 
M

M Skabialka

If I don't requery it keeps the info from the previous combo choice.

Pete D. said:
Did you really need the requery?
M Skabialka said:
Finally got it working using:
[frmAssignmentDetail subform1].Form.FilterOn = True
[frmAssignmentDetail subform1].Requery

Pete D. said:
I found that the form open filtered was turned on when I first moved form
to 2007. Once I corrected it in 2007 and saved form it stopped. Found no
rime or reason to it other then last filter used in 2003 stuck when
opened in 2007 first time. Curious to see if you find any other
solution.
Pete D.
I have a database that was designed in Access XP and used in Access 2003
and 2007. One of my users showed me that in forms with a combo to
select the contents of the subform, nothing shows up after the combo
selection is made. However if they click in the subform, then click the
Toggle filter button on the ribbon, they get the data they wish to see.
What command can I use after updating the combo to perform the toggle
filter function so they don't have to when they view it in Access 2007?
This is not a problem if I open it in Access 2003.
Mich
 
P

Pete D.

Thanks, just curious. Pete
M Skabialka said:
If I don't requery it keeps the info from the previous combo choice.

Pete D. said:
Did you really need the requery?
M Skabialka said:
Finally got it working using:
[frmAssignmentDetail subform1].Form.FilterOn = True
[frmAssignmentDetail subform1].Requery

I found that the form open filtered was turned on when I first moved
form to 2007. Once I corrected it in 2007 and saved form it stopped.
Found no rime or reason to it other then last filter used in 2003 stuck
when opened in 2007 first time. Curious to see if you find any other
solution.
Pete D.
I have a database that was designed in Access XP and used in Access
2003 and 2007. One of my users showed me that in forms with a combo to
select the contents of the subform, nothing shows up after the combo
selection is made. However if they click in the subform, then click the
Toggle filter button on the ribbon, they get the data they wish to see.
What command can I use after updating the combo to perform the toggle
filter function so they don't have to when they view it in Access 2007?
This is not a problem if I open it in Access 2003.
Mich
 

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

Top