G
Guest
I am attempting to printa current record on a report. This is the code I am
running
stDocName = "Flight#"
DoCmd.OpenReport "flight#", acNormal, , "[Flight_Number] =
forms![form1]![Flight_Number]"
It will only print a blank record this code works fine in other programs
the only difference between this file and other files is that (form1) in the
above code contains a subform . I have tried changing the form1 to the name
of the subform but I still get a blank record
Thanks for the help
T
running
stDocName = "Flight#"
DoCmd.OpenReport "flight#", acNormal, , "[Flight_Number] =
forms![form1]![Flight_Number]"
It will only print a blank record this code works fine in other programs
the only difference between this file and other files is that (form1) in the
above code contains a subform . I have tried changing the form1 to the name
of the subform but I still get a blank record
Thanks for the help
T