I just converted my Access 2003 database from a .mdb to an Access ADP and going thru and cleaning up/testing things. The one thing I cannot get to work is my DoCmd.OpenForm statements - I have tried to modify them but get a run time error 102 Incorrect Syntax near DR - that was on the second statement below. What is correct syntax now that this is in ADP?
'DoCmd.OpenForm frmAcctDetails, , , "AcctNo = [forms]![frmAcctPhonebook]![AcctNo]" -->Original
DoCmd.OpenForm "frmAcctDetails", acNormal, , "[AcctNo]= " & Me!AcctNo