Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Incorrect Syntax near '!'

Status
Not open for further replies.

jluost1

Programmer
Joined
Jun 8, 2001
Messages
78
Location
US
I have a form with a button. Click on the button will run a macro. In the macro, there is an openForm action. The "WHERE" property is set as the following:

[Bkg Ref#]=[Forms]![Client]![Bkg Ref#]

Each time when I click the button, I got the error:

line1: Incorrect Syntax near '!'.

The error message gives me error information about the macro. It indicates the error was the "WHERE" property.

Any idea?

Thanks a million.

 
By the way, I am using ACCESS 2000 with ADP file and SQL Server 2000 as the front end and backend.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top