Connecting Tech Pros Worldwide Forums | Help | Site Map

Syntax Error (Missing Operator)

Newbie
 
Join Date: Nov 2008
Posts: 26
#1: Apr 2 '09
Hi All,

Can you please check what I am missing here
Expand|Select|Wrap|Line Numbers
  1. DoCmd.OpenForm "saidhazard2", , , "[FK_SAIID] = " & Me!SAIID & "[FK_Haz_Cat_ID] = " & Me!FK_HazCatID
Thank you for your help.

Newbie
 
Join Date: Nov 2008
Posts: 26
#2: Apr 2 '09

re: Syntax Error (Missing Operator)


I got what I was missing.

Thank you.
nico5038's Avatar
Moderator
 
Join Date: Nov 2006
Location: The Netherlands
Posts: 2,232
#3: Apr 3 '09

re: Syntax Error (Missing Operator)


Please post the solution the next time:
"[FK_Haz_Cat_ID] = "
should be:
" AND [FK_Haz_Cat_ID] = "

Nic;o)
Reply