|
-
Sep 6th, 2000, 09:45 AM
#1
Thread Starter
New Member
Hi all again,
Here goes:
I have this database application in wich I want to print a recordset out of the database.
I'm using only code to do this cause if i use the designersmode (datareport) make a report and I compile the whole thing it returns an error message if i execute the call datareport.
that message is
Class is not registered.
I'm trying to figure out what it means but I can't find the problem. 
So what I did next was making a print function where I defined what i wanted to be printed.
Now, next thing that happens i can't get the lines in some sort of a column.
Well here is a piece of the code I use to print the document of record set.
Dim sSubject As String
sSubject = txtSubject
printer.print "Subject:"; txtSubject
now what i want to do is to make sure everything what i have put in the txtFIELDS apears just under eachother like in a column
I just can't figure this out, so if anyone can..
plz
HELP ME!!!!
Greetz
-
Sep 6th, 2000, 10:32 AM
#2
New Member
Ok i guess that the string isnt formatted at all?
if this is the case you need to trim the strings to get rid of leading/trailing spaces and then split up the string into sections. Write a function that fills out a string to make it a certain length use the space command.
then for each line just call the print command. This should format it how you want
-
Sep 6th, 2000, 10:37 AM
#3
Thread Starter
New Member
WOW....
now you got me here.
How the h*l* do i make a string like that?
I haven't been this long programming in VB6 so if you can sorta help me out with this thing i would appreciate it alot
if anyone can.. PLEASE!
Greetz
-
Sep 18th, 2000, 04:22 AM
#4
Thread Starter
New Member
Hi there,
here i'm again.
I've been trying to figure out how to make a function to make this collumn thing.
but it doesn't seem to work.
Does anyone have an example for me that i could work out and use?
Thnx and Greetz
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
|