Lanason
Registered User.
- Local time
- Today, 21:14
- Joined
- Sep 12, 2003
- Messages
- 258
This may be an obvious one - but only if you know the answer.
I have displayed a single record form from a button on a listing (multi record form) - the single record form is based upon a table not on a query.
I have designed a form also based upon the same query but I just want to print the current record rather than the whole lot. I've put a button on the screen but it prints the whole table. Can I limit the report to just the record dispalyed on the form ??
My code is :-
Dim stDocName As String
stDocName = "rpt Advert"
DoCmd.OpenReport stDocName, acNormal
Thanks in advance
I have displayed a single record form from a button on a listing (multi record form) - the single record form is based upon a table not on a query.
I have designed a form also based upon the same query but I just want to print the current record rather than the whole lot. I've put a button on the screen but it prints the whole table. Can I limit the report to just the record dispalyed on the form ??
My code is :-
Dim stDocName As String
stDocName = "rpt Advert"
DoCmd.OpenReport stDocName, acNormal
Thanks in advance