|
-
Sep 19th, 2000, 10:10 PM
#1
Thread Starter
Lively Member
Hello Guys!
I've been comtempleting this problem for a couple of hours now and browsed this forum for an answer but couldn't find any (yet).
Here's the problem:
From within the application, I need to "print" or at least preview and then print the results of a data crunching. The data resides in an array and would like to "output" the results.
Exemple:
option base 1
dim Results(4) as integer
... data crunching ... gives the following results...
Results(1) = 15
Results(2) = 25
Results(3) = 34
Results(4) = 57
How do I go from there?
Thanks for the help 
Sincerely yours,
Patrice B. 
Information System Analyst
SAS 9.1.3, VB6 SP6, VB.Net 2003, SQL7.0/2000
-
Sep 19th, 2000, 10:34 PM
#2
Fanatic Member
if you mean Print to the printer, then
Code:
Dim i
For i = LBound(Results) to UBound(Results)
Printer.Print Reults(i)
Next i
Printer.EndDoc
For preview, use an activex control
GWDASH
[b]VB6, Perl, ASP, HTML, JavaScript, VBScript, SQL, C, C++, Linux , Java, PHP, MySQL, XML[b]
-
Sep 21st, 2000, 03:45 PM
#3
Thread Starter
Lively Member
I'll try that tonight at home.
Thanks for the reply. 
Would it be difficult to have "formatting" with boxes and continuous lines?
How do I program those continuous lines with all the "crossing" possibilities.
Sincerely yours,
Patrice B. 
Information System Analyst
SAS 9.1.3, VB6 SP6, VB.Net 2003, SQL7.0/2000
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|