Dim strWhere as String
strWhere = "[ID] = " & Me!txtID
DoCmd.OpenReport "rptMyReport", acViewPreview, , strWhere
--
Duane Hookom
MS Access MVP
"Adel Gaafar" <AG2...@Hotmail.com> wrote in message
news:061e01c2a19a$c6cf38e0$d4f82ecf@TK2MSFTNGXA11...
> How can a single record be printed in a report layout
> rather than the entire data base from a form vew?
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.427 / Virus Database: 240 - Release Date: 12/6/2002