|
-
Apr 27th, 2000, 03:51 AM
#1
Thread Starter
Lively Member
I have a text box that the results of a search engine are added to. The date is added to the textbox first, then the 1st keyword, then the 2nd keyword, then the URL, and a blurb containing both keywords, then the next url and blurb etc. until the 2nd keyword changes, then until the first keyword changes (might be several since they can choose Search All from the combo box of keywords). Everytime the 1st keyword changes they want to start on a new page, so the reports can be printed and kept seperate. Before adding the next 1st keyword I want to specify a new page, does anyone know how to do this?
thanks 
Cady
-
Apr 27th, 2000, 03:59 AM
#2
You could put some sort of marking in the RichTextBox (For example -==-). Before it is printed, you could scan the text for -==- and whenevr that is found, set the printer to print a new page.
-
Apr 27th, 2000, 04:05 AM
#3
Thread Starter
Lively Member
what is (-==-)? Or by marker do you mean something that doesn't have a specific meaning? I would put this before the new keyword(1st) and then do an instr and when it is found then I set the new page? If this is what you mean can you tell me how to set the printer to a new page? Thanks Megatron.
Cady
-
Apr 27th, 2000, 04:11 AM
#4
Yes, that's what I meant.
Regarding the page bit, to start a new page in the printer, all you have to do is type Printer.NewPage
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
|