codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  VB Report  Archive Import (Andre) at 20:25 on Wednesday, March 05, 2003
 

Hi guys,

I'm working on a VB report with the use of the VB Report Tool (VB6 Pro). I have a recordset that contains one column with data. (+/- 10.000 records.

Now i need a report with this one column recordset, the problem is that the data is is shown in the report like within the recordset. This is a lot off paper, that rolls out the printer ..... shit....
Example :

xxxxxxxx
xxxxxxxx
xxxxxxxx
xxxxx
xx
xxxxx


I would like the see that the columns in the report filling up the pages like in the example below :

xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx
xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx
xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx
xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx
xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx

I hope somebody can help me with this, to use a Excel spreadsheet or Word are NO OPTION !! Must stay within the VB Apps. !!

Greetings,

Andre (d'r Juud)

  Re: VB Report  Archive Import (Mark Mizner) at 16:36 on Wednesday, July 09, 2003
 

What is the code you are using to print the report? By using semi-colins ";" between variables, it will make fields look like columns.
Example your printout:
Print #1 strRec1
Print #1 strRec2
Print #1 strRec3
Print #1 strRec4

will be columns if done like:

Print #1 strRec1; strRec2; strRec3; strRec4

To get them to line up you will have to use RSET command











CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums
//








Recent Forum Threads
•  Job @ EarlySail
•  Job @ EarlySail (perl)
•  Security - Code verify
•  IPC problem
•  Re: import contacts of msn/yahoo
•  Cookies and Threads C++
•  right justify a background in a table?
•  Help with Loop (C++/MFC)
•  Help with Loop (C++/MFC)


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2007