openform filter problem

  • Thread starter Thread starter Raymond Chiu
  • Start date Start date
R

Raymond Chiu

DEar all,

docmd.openform "forms1", , , field1=forms.forms2!field1

THe form forms1 display without showing records.

What is the problems?


Thanks,

Raymond
 
Dear raymond

it should be

docmd.openform "forms1", , , "field1='" & forms.forms2!field1 & "'"
 
Back
Top