I have a MS SQL database on a server which is [ublished on the web (ASP pages) I need to give the user a button to click on it and print a stored procedure based report. I dont know how to generate the report in ASP ?
I am diong a query based on a username that is being passed over. here is what i have:
sqltext = "select from sage where username = request.form(username)"
i've tried variations of it and i keep getting error message. i have written so that it will pull everything the db, and that works. so i know that it has to be w/ this one portion. but i'm getting an error message.
I have a SQL DB with a number of tables and queries (views) in.
In front of this is my ASP app I am designing.
When my users log in, their User ID is stored in a session variable.
One of the views determines which User ID can access which records, and obviously then I want to base all my app around this so that a user can only ever be working on data relevant to them.
Is there any way of using a variable in my SQL View outside of DWMX so that once my users log in, the SQL View is automatically filtered based on their User ID in the session variable?
Is there a way of inserting a variable/parameter into SQL so this happens?
I want to do something which must be very simple. If I open default.asp, it creates my frameset and opens my home page. This is what I want to happen.
However, if I create an URL along the lines of http://www.domain.com/default.asp?r..._page=page2.asp, then I want it to open page2.asp, but still within the frameset.
My code retrieves a username and a password from a form. Then this information is compared to some usernames and passwords that are stored in a database. The important thing here is that the comparison must be case sensitive meaning that "passWord" is not the same thing as "password"
I have this code, working fine in access 2003
SQL = "SELECT * FROM users WHERE StrComp(username_column,'" & entered_username_in_form & "',0) = 0 AND StrComp(password_column,'" & entered_password_in_form & "',0) = 0"
but get the following error when I run it against my sql 2005 database.
[Microsoft][SQL Native Client][SQL Server]'StrComp' is not a recognized built-in function name.
I don't know the corresponding t-sql for the query.
I am running a querry on an access database and have set the number of records/page displayed at 20. if there are more than 20 records returned, then 1st page will show the first 20, the next page will show next 20 and so on....
The trouble:
the count of total records displayed is correct and the first page is displayed correctly. But when i click on *Next* to go to the next page, all the records of the database get displayed (not the 2nd page of records from the query).
Can anyone tell me how to link from ASP to Crystal Report like to create a report in CR when a user key in some requirement to pull out data from database(SQL Server)
I dont ASP, but I need to get the report.asp in this code top open in new window with the results desired. It works fine the way it is, but I just want the report to open in a new window. I would appreciate any help possible.
case "five" OD=Request("OD") pwt=request("pwt") pg=request("pg") cwt=request("cwt") cpg=request("cboCPG") strSQL="Select * from Query1 where PipeOD="& OD &" and tblpipe.wall_thickness = "& pwt &" and tblpipe.pipe_grade = '"& pg &"' and tblconnectors.wall_thickness = "& cwt &" and tblconnectors.pipe_grade = '"& cpg &"'" response.redirect("report.asp?myquery="& strSQL &"")
I'm new to ASP & wish to use it to create SQL report based on the following query: SELECT DISTINCTROW Users.LastName, Users.FirstName, Users.JobTitle, Courses.CourseName, Status.Status, Status.Date FROM Users INNER JOIN (Courses INNER JOIN Status ON Courses.CourseID = Status.CourseID) ON Users.LoginName = Status.LoginName WHERE (((Status.Option)="Required")) ORDER BY Users.LastName;
Do I need to break up the SQL query per row and write out the report? I was thinking I could create this query, retrieve the information & create an SQL report.
However, my SQL is very rusty so I don't remember how to make the command (the only nice thing about GUI interfaces, the client thinks I know how to make the report as I can print it from the db.).
I have made some reports with asp codes. the reports are working correctly. but I want to set the margins, header & footer dynamically using asp codes. is there anyway to do it?
when I print the report, I don't want the header & footer to be printed out. I know that we can set this by going to the printer settings...but then this application will be installed in our server and we can't expect every staff to change them when they want to print.
it appears that my ISP is blocking port 1433 which means i can no longer connect to my sql db on the web. had been using an access project or another program called WinSQL. so i'm forced to go with a web-based solution and i don't really have time to build one from scratch. the host this site is on still hasn't installed the .net framework so i have to go with a classic asp solution.
I have users typing in information into a text box. Sometimes this information can be lengthy and contain simple formatting such as spacess between lines and line numbering. For example:
1. List item number one
2. List item number two
I then have a report page that prints out this information. Unfortunately, the line spacing doesn't show up in the report. It's just all jumbled together. I'm just using <%= Notes %> to show the db field. Is there a way that I can show the formatting that was originally entered or do I need to use some kind of word processor like I am using to type this post?
how can i create a graphic report based on database information. I have an asp page where i asked some questions to users on my intranet, and i have that data on a database, so i want to make a graphical report (i.e. a pie) where i can see the results.
i want to connect crystal report with asp .but i don't no how plz tell me with example and web link where i can see? is there any more option of reporting with asp other then crystal report?
I am generating a report in HTML, that my users can look over AND if they want to, store in their own Access dbase. Thing is, I do not know how to "read" that whole html page into a var and store same in a field in Access.
This may be in the wrong forum, but I'm going to give it a shot anyways. Here goes. I have a conference report that has 24 phone lines that are available for booking. Each call can take between 1-24 lines, you can have any number of calls as long as the number of lines they take up does not go over 24. I graphiclly represent this in a horizontal bar graph that displays the number of lines that are taken up for a particular half hour. Problem is when a meeting takes more than a half an hour, the meeting bar fills up for that whole time without any information on the meeting. What I would like to do is have each meeting when assigned in the DB or through an array be assigned a color and then that color appears on the graph under the time the meeting is. If there are multiple meetings (there almost always are), then the meeting that has been active the longest will be the first color bar on the graph. To make a way too long story short. I want to have a stacked bar chart that moves colors to the front as other's leave every half hour and move new ones to the back. If you want to look at what we have now visit URL.
I am new to the world of ASP. Yes, I have created some asp pages, for our organization. My Server configuration: Windows NT 4 SP6, IIS Installed. Now, i want to link my asp pages to one of my crystal report which i have designed using CR9. I have searched all over for finding a solution, but I could not. Please help me what are the steps i should do to call my testreport.rpt through my test.asp program.
I have microsoft access 2007 installed and want to make the following: The user can go to a website and there are a number of drop down lists which are from different tables in a database for example he might select P7-34043 as the project name in one drop down list then select his job in another drop down list the user would then after filling out all the boxes press submit and the server would generate a report automatically in microsoft access with the values he selected How would i go about doing this.
I hav created a report in access, when I click submit from fromnt page(HTML, ASP), It hav to generate a report for the vales entered in the form to the report which I created in access. Is there is anyone to help me.
I have used one tool called DebugDiag which analyses the Process and generates reports according. It tracks variaous activities like Memory leak, Process crash etc.... I ran the tool on Production server where are live application is running to find if there were any Memory leaks, process crash, hangs etc,.... The tool generated one report which I'm finding hard to analyse. If anyone could help in anlysing the report that would of great help. I'm not able to paste the report here. Please suggest as to how could I send the report so that you guys can go through it.
I have develop a crystal report in localhost. But I dun't how to put in to the server. we only need to Install the crystal report in the server? and share the folder then it will able to run ??
I've got an ASP application on a server. It has some reports , but they're not that nice. They are usually just printing from the form, nothing fancy. I am looking at Crystal reports as an option. Do I have to have Crystal reports installed on the server for this to work? I am assuming I do.I was going to build it locally , then copy it to the server.
Ok, I currently have an ASP application. In this application, an administrator will need the capacity to print reports of the data stored in a MySQL database.
Let me note now that this is a college project, and I can only basically do what I am allowed to, rather than having full control over the server and making any necessary changes.
The problem is, I don't have permission to write files from my application. How dumb is that? Anyway, I need an alternative way. Are there any ASP PDF converters or any similar that I can query the DB, get the necessary data then present it as a printable document?
A temporary .txt file would have been sufficient, but now that that is ruled out, I need to find another way of doing this.
I want to create a weekly report on diciplinary actions taken. I dont have an idea of how i'm goint to go about doing it. I have done the yearly reports and the monthly reports without much hasle. I just dont know how to create a weekly report.
Does anyone know how to pass an ADO recordset to Crystal report for subreport? I was able to pass ADO recordset for main report but have no idea how to do the same for subreport
Here's the code that i used for passing ADO recordset for Main report: Session("oClientDoc").DatabaseController.setDataSource session("oRs"), Session("oClientDoc").Database.Tables.Item(0).Alias, "ADORecordset"
I tried to use code below but it didn't work Session("oClientDoc").SubReportController.setDataSource session("oSubRs"), Session("oClientDoc").SubreportController.GetSubreportDatabase.Tables(0).Alias, "ADORecordset"
give me a Guide to Use crystal report with ASP, I have read a book but not yet understandtand....i need some simple example to guide me trough the rest