K
K90267000 via AccessMonster.com
Hi all, I am a newbie in using ACCESS 2007
On FORM1, I have a text field named TEXT1 and a button COMMAND1.
On REPORT1 I have FIELD1.
My intention:
User enter text into TEXT1, and click COMMAND1, will open REPORT1, showing
FIELD1 matching TEXT1.
I am using the macro build, to create a On Click event on COMMAND1.
Action:OpenReport
Report Name : REPORT1
View : Report
Filter:
Where:[FIELD1]=[Forms]![FORM1]![TEXT1] <<<<<<<<<<<<<<<<< Did not work!
Window Mode : Normal
What works............WHERE: [FIELD1]="John Tan" <<<<<<<<<<<<<<<<<< Works!
Can someone help me out please?
Thanks!
On FORM1, I have a text field named TEXT1 and a button COMMAND1.
On REPORT1 I have FIELD1.
My intention:
User enter text into TEXT1, and click COMMAND1, will open REPORT1, showing
FIELD1 matching TEXT1.
I am using the macro build, to create a On Click event on COMMAND1.
Action:OpenReport
Report Name : REPORT1
View : Report
Filter:
Where:[FIELD1]=[Forms]![FORM1]![TEXT1] <<<<<<<<<<<<<<<<< Did not work!
Window Mode : Normal
What works............WHERE: [FIELD1]="John Tan" <<<<<<<<<<<<<<<<<< Works!
Can someone help me out please?
Thanks!