Rich
09-22-2010, 03:19 AM
Any ideas why this statement and others like it don't work in 2010
This works
DoCmd.OpenReport "rptPerLett", acNormal, "", "[tblPerLettr]![cntLettrID]=[Forms]![frmPerLttrs]![Jobs].[Form]![cntLettrID]"
This just prints Type!
DoCmd.OpenReport "perConEnv", acNormal, "", "[tblPerLettr]![cntLettrID]=[Forms]![frmPerLttrs]![Jobs].[Form]![cntLettrID]"
This works
DoCmd.OpenReport "rptPerLett", acNormal, "", "[tblPerLettr]![cntLettrID]=[Forms]![frmPerLttrs]![Jobs].[Form]![cntLettrID]"
This just prints Type!
DoCmd.OpenReport "perConEnv", acNormal, "", "[tblPerLettr]![cntLettrID]=[Forms]![frmPerLttrs]![Jobs].[Form]![cntLettrID]"