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
[quoted text clipped - 5 lines]
>if I open it in Access 2003.
> Mich
M Skabialka - 27 Mar 2008 20:59 GMT
Where do you find this property?
>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
[quoted text clipped - 10 lines]
>>problem if I open it in Access 2003.
>> Mich
M Skabialka - 27 Mar 2008 21:22 GMT
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
>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
[quoted text clipped - 10 lines]
>>problem if I open it in Access 2003.
>> Mich
M Skabialka - 27 Mar 2008 22:09 GMT
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
[quoted text clipped - 10 lines]
>>problem if I open it in Access 2003.
>> Mich
Pete D. - 27 Mar 2008 22:32 GMT
Did you really need the requery?
> Finally got it working using:
> [frmAssignmentDetail subform1].Form.FilterOn = True
[quoted text clipped - 14 lines]
>>>not a problem if I open it in Access 2003.
>>> Mich
M Skabialka - 28 Mar 2008 15:38 GMT
If I don't requery it keeps the info from the previous combo choice.
> Did you really need the requery?
>> Finally got it working using:
[quoted text clipped - 16 lines]
>>>>This is not a problem if I open it in Access 2003.
>>>> Mich
Pete D. - 28 Mar 2008 22:32 GMT
Thanks, just curious. Pete
> If I don't requery it keeps the info from the previous combo choice.
>
[quoted text clipped - 18 lines]
>>>>>This is not a problem if I open it in Access 2003.
>>>>> Mich