Windows Vista Tips

Windows Vista Tips > Newsgroups > Internet Explorer > printing asp pages

Reply
Thread Tools Display Modes

printing asp pages

 
 
p45542004
Guest
Posts: n/a

 
      06-06-2010
i have an asp page. a record is made from a stored procedure on SQL 2005. I
can print out 1 record then, with an rs navigation button, click to get the
next record. Each record fits on a4 (or legal) sheet. I can then print
that. But, how do I print all records insead of manually doing them, is there
a way?

Thanks in advance


 
Reply With Quote
 
 
 
 
PA Bear [MS MVP]
Guest
Posts: n/a

 
      06-06-2010
Asked/Answered in IE forum:
http://social.answers.microsoft.com/...4-260d1063c140


p45542004 wrote:
> i have an asp page. a record is made from a stored procedure on SQL 2005.
> I can print out 1 record then, with an rs navigation button, click to get
> the next record. Each record fits on a4 (or legal) sheet. I can then
> print
> that. But, how do I print all records insead of manually doing them, is
> there a way?
>
> Thanks in advance


 
Reply With Quote
 
rob^_^
Guest
Posts: n/a

 
      06-06-2010
Hi,

Refer to your company's IT department to program the asp page to allow the
user to choose the number of records to be displayed on each page.
(Pagination)

MTL your stored procedure is using cursors to only move through one record
at a time. This is not the way to do this (pagination). Use Data Grids and
SqlConnectors instead. You can add a pagination control to your Datagrid to
allow uses to choose how many records to display on each page or code it to
display all records. When you display all records on the one web page, the
browser Print function will automatically split the report into pages for
your chosen paper size. You can also use css to control how the printed
report is rendered by the Printer.

You could use Crystal reports also to whip up a quick ad-hock report. An
experienced programmer should only require a few hours to do this.

Regards.

"p45542004" <> wrote in message
news:3C1FB4C5-CF6E-4DE4-A091-...
> i have an asp page. a record is made from a stored procedure on SQL 2005.
> I
> can print out 1 record then, with an rs navigation button, click to get
> the
> next record. Each record fits on a4 (or legal) sheet. I can then print
> that. But, how do I print all records insead of manually doing them, is
> there
> a way?
>
> Thanks in advance
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing Web Pages: I want what I see Nathan Sokalski Internet Explorer 9 06-04-2010 02:30 PM
Re: Printing multiple pages +Bob+ Windows Vista General Discussion 0 02-14-2010 11:13 PM
Re: Downloading only a particular page/selective pages of a document from the internet or other file server - Free Tool Dusko Savatovic Windows Server 2 01-22-2010 04:47 PM
Re: Downloading only a particular page/selective pages of a document from the internet or other file server - Free Tool Dusko Savatovic Server Networking 2 01-22-2010 04:47 PM
IE8 main web pages content not showing in print preview and not printing ? RJK Internet Explorer 1 12-16-2009 11:54 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59