jdcallejas
07-01-2008, 06:30 AM
Hello,
I have a boton on my form that suppose to just print record I am looking at, well its not working and I am almost 100% the code is right....
DoCmd.OpenReport "lease1", acViewPreview, , LeaseID = Me.LeaseID
or for my apartment form boton
stDocName = "Apartments"
DoCmd.OpenReport stDocName, acPreview, , AptID = Me!AptID
can you take at look why its always showing all records not just current record!!
I have a boton on my form that suppose to just print record I am looking at, well its not working and I am almost 100% the code is right....
DoCmd.OpenReport "lease1", acViewPreview, , LeaseID = Me.LeaseID
or for my apartment form boton
stDocName = "Apartments"
DoCmd.OpenReport stDocName, acPreview, , AptID = Me!AptID
can you take at look why its always showing all records not just current record!!