Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
Visual Basic Forum for Visual Basic Programmers VB Forum Index » Database & Reporting

Post new topic   Reply to topic
Printing Database in Microsoft Word
View previous topic :: View next topic  
Author Message
Premus
Newbie


Joined: 11 Apr 2004
Posts: 1

PostPosted: Apr 11th, 2004 12:48 AM    Post subject: Printing Database in Microsoft Word Reply with quote

Hello

I want to print a database which is read into Visual Basic 6 using an ADODC control. I know how to open a Word document using the Word.Application command, and that works fine.
But the problem is that i dont know how to actually Write the records of the Table into Word.

the ADODC control is reading in a table called "Aissartrank"
It has four fields called : ID , Last Name , First Name, Overall Average

and i want it to be printed in paragraphs in Word: FOr eg:

ID : 1
Last name: -----
First Name:-----
Overall AVerage :-----

ID : 2
Last name: -----
First Name:-----
Overall AVerage :-----

etc

could u pls tell me what code i should use to achieve this. THank you.
Back to top
View user's profile Send private message
Avis
Junior Poster


Joined: 07 Oct 2003
Posts: 510
Location: India

PostPosted: Aug 25th, 2004 01:37 AM    Post subject: Reply with quote

Hello Premus,

Please check this word class which will solve your problem very easily.
[link]

Let me know if you need more help!

Thanks!
_________________
Code Snippets, Tutorials, Utilities, Controls

Low cost Web Hosting
Hosting starts at as low as $4 per year!


Always follow posting guidelines
Put your VB code in [vb ] your code [ /vb] tags!
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger ICQ Number
Display posts from previous:   
Post new topic   Reply to topic    Visual Basic Forum for Visual Basic Programmers VB Forum Index » Database & Reporting All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Visual Basic Forum runs phpBB | Forum Template © iOptional
VB Resources | SSL | Visual Basic