View Full Version : Generating a report from webpages
JustAsking
09-09-2002, 01:00 AM
I am generating a number of webpages that have background images, graphics, tables etc that users will enter data into the form fields and step through about 10 pages. When the user has completed entering the data I am trying to figure out how I can have all the pages print out exactly how they are on the webpages into a report. Any ideas?
I am having the information pass directly to itself, but just not sure how to print the current and say previous 10 web pages all at once?
whammy
09-09-2002, 02:53 AM
I guess that depends on your report. If you are saving all of the info into a database at each step, or passing the values along to the next page (or the same page, if you have it submitting to itself), reporting should be easy... the report would just be based upon which data you recorded, and how you want to display it...
Unfortunately I don't think anyone else here can give a clearer answer than I did, unless you are more forthcoming with whatever problems you are encountering.
JustAsking
09-10-2002, 01:06 AM
I understand this question is probably really simple, I am just having a major memory/thought blank that is all. Any further help.
:confused:
whammy
09-10-2002, 01:13 AM
Can you be more specific on any problems you're having? Unfortunately the post you made looks like an ASP training request... if you could post errors, specific problems that you are encountering, or something like that, I'm sure plenty of people will be willing to help.
I work as an .asp developer every day, and I have no idea what you're asking here. Have you already saved the information to a database that you're trying to report on? Are you having trouble retrieving the information? C'mon man, give us all a clue!
I don't mean that in a confrontational way... but we don't have anything to work with. I would like to help you.
:(
JustAsking
09-10-2002, 01:40 AM
Sorry for not being specific enough, I'll try again...
I am doing aproject where I am creating an online resume website, where people can come and register and post their resume to my website and allow job employers to view their resumes'. The user steps through a number of pages and each pages content is saved into a database. Once the user has finished completing their resume, I want to give them the option of printing their completed resume. I am not experiencing any coding errors with writing to / and displaying the database information. I just am not sure what code is needed allow the user to print a hardcopy of their resume from my website.
I have not included a link because there are no errors, this is more of a "does anyone know how this could be done" question.
I hope this is a bit clearer than mud.
whammy
09-10-2002, 01:45 AM
Yeah that makes sense! :D
Why not use javascript's window.print() after displaying the validated information from the database?
JustAsking
09-10-2002, 02:11 AM
Yeah I could do that, but doesn't that only print the current page displayed. And there will most likely be too much info to display on one (1) web page, so how could multiple pages be printed.
whammy
09-10-2002, 02:15 AM
I know CSS has an answer to that; but I don't have any references handy unfortunately. Perhaps someone else can chime in here. :D
scroots
09-10-2002, 06:07 PM
you could pull it from a database if it was stored in one, do you want the form boxes included? if not use response.write if yes make a form and for the value add the asp tag to get from database and fill it in.
scroots
whammy
09-11-2002, 04:22 PM
Another idea would be to write these to a separate file (whatever type you want) using Scripting.FileSystemObject - HTML even (then using CSS print exactly what you want - with page breaks and everything).
http://www.w3schools.com/asp and
http://www.w3schools.com/css
may get you pointed in the right direction. Hope this helps.
JustAsking
09-12-2002, 01:00 AM
I've been thinking about various methods and currently the resumes are saved as MS word documents. I also have entered all the resumes into an access database.
I could display the resume data on the web using asp. What I am thinking but, if there is anyway I could allow the user to edit their resume online then click a save button and a word document could be created on my server?
JustAsking
09-13-2002, 02:31 AM
I have found some software that can convert rtf files to html and other files, has anyone used this before.
http://www.opencagesoftware.com/rtfconverter.html
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.