RichardPrewitt
IS-IT--Management
I am working on a program that uses an Access database and I want to create a report that the VB program prints. I do not want to use Word or Crystal Reports. I am trying to create a sub procedure so I can code the reports like:
Printer.Print Tab(40); Format(variable, variable)
something like that but when go to Tools / Add Procedure from the VB main menu, I do not get an option to create a new sub procudure. Is there something else that I need to add to my program to get it produce a report or maybe some help or example in code.
I will also need some examples for code so I can sort by field names in Access.
If I can just use a report from Access that would be even better, but I am fairly new a programming and do not know how to call a report from Access.
I would appreciate any help that you could give me.
Thanks
Printer.Print Tab(40); Format(variable, variable)
something like that but when go to Tools / Add Procedure from the VB main menu, I do not get an option to create a new sub procudure. Is there something else that I need to add to my program to get it produce a report or maybe some help or example in code.
I will also need some examples for code so I can sort by field names in Access.
If I can just use a report from Access that would be even better, but I am fairly new a programming and do not know how to call a report from Access.
I would appreciate any help that you could give me.
Thanks