| | |
Command Button: Print Form - VBA code
Please support our MS Access and FileMaker Pro advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jul 2008
Posts: 5
Reputation:
Solved Threads: 0
Help! I think that this should be easy but I have not been able to find the correct VBA code to get the Form to print only the current record not all 1651 records.
I have a command button (Print) and walked through the wizard correctly to print "only the current record" but it is NOT doing that. So, I thought I could tweek it in code but can't get it right so it's still printing our 367 pages (all the records).
Can anyone "lend" me some code that I can add to my command button to do this. I realize that printing and VBA are sometimes messy but if anyone out there has already solved this problem, my non-profit and I would be very grateful. I'm working in Access '02. I'm not an expert but also not a novice.
I have a command button (Print) and walked through the wizard correctly to print "only the current record" but it is NOT doing that. So, I thought I could tweek it in code but can't get it right so it's still printing our 367 pages (all the records).
Can anyone "lend" me some code that I can add to my command button to do this. I realize that printing and VBA are sometimes messy but if anyone out there has already solved this problem, my non-profit and I would be very grateful. I'm working in Access '02. I'm not an expert but also not a novice.
•
•
Join Date: Jan 2008
Posts: 44
Reputation:
Solved Threads: 3
What is the code that you currently have tried?
Bob Larson, Access MVP
____________________________________
For Quick Tutorials and Samples for Microsoft Access: BTAB Development
____________________________________
For Quick Tutorials and Samples for Microsoft Access: BTAB Development
•
•
Join Date: Jan 2008
Posts: 44
Reputation:
Solved Threads: 3
Well, at least you got something working the way you wanted. Good to hear
Bob Larson, Access MVP
____________________________________
For Quick Tutorials and Samples for Microsoft Access: BTAB Development
____________________________________
For Quick Tutorials and Samples for Microsoft Access: BTAB Development
![]() |
Other Threads in the MS Access and FileMaker Pro Forum
- Previous Thread: somebody help please in creating student information system
- Next Thread: Student ID
| Thread Tools | Search this Thread |





