Filter problem - Access 2007

M

Moff

Is somebody aware of a filter problem in Access 2007 forms ? My program works
fine with Access 2003 but not with Access 2007...
 
M

Moff

This is the code that is working in Access 2003 and
not in Access 2007. Can You helm me please ?

Private Sub Form_Open(Cancel As Integer)

Me.FilterOn = True
Me.Filter = "[actor_name] = '" & globalActorName & "'"

The result is supposed to show the form with only one record.
 
M

Moff

This code resolved the problem :

DoCmd.ApplyFilter , "[actor_name] = '" & globalActorName & "'"
 

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