|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Can anybody answer me
How can I create a flat file report using VB6.0 and can design that report in a rich text format (.rtf) and can send for printing . The data to be retrieved to the file from Access database, i.e. VB6.0 retrieves data from Access database and prints the report in Text format/in a Flat file. Chitta |
|
#2
|
|||
|
|||
|
Sample Code
'Opens a Text file for output Open FileAndPathName For Output As #1 'Writes variable to opend textfile Print #1, Variable1 & " " & Varialbe2 Just open a recordset in VB Loop through it and write you data to the text file (text files don't have to be .txt either) S-
__________________
If you have found a particular post helpful, show your appreciation by adding reputation points to that user by clicking the "scales" image in the upper right had corner of their post. |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > How to Designing a Flat file report in VB6.0 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|