Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
all groups > inetserver asp db > april 2004

Filter by week: 1 2 3 4 5

Test
Posted by A at 4/30/2004 10:50:34 PM
Test ...more >>


job sql server don´t work
Posted by Mikael Hellström at 4/30/2004 8:21:18 AM
Hi, im running windows 2000 and sql server 2000 I have added a job to my database on a 5 minute run schedule. The TSQL statement you can find below DELETE FROM online WHERE (DATEDIFF(n, tid, GETDATE()) > 25) But it don´t fire at all. Any now why? Regards Mikael ...more >>

Generate csv file from sql table
Posted by ththomps at 4/30/2004 7:21:03 AM
I am looking to do the following from a C# ASP.Net applicatio 1. Generate a DS from a SQL pull of a single table. Once I have pulled the data (Display to user is not required, just notification that the data has been gathered) 2. Convert the DS to a .CSV format and place the file in a directory w...more >>

ASP SQL query question
Posted by Brandon at 4/30/2004 5:27:10 AM
Greetings, I have a question about a database query from an asp page. My query is functional and produces the data that I need; however, one column contains a numeric value that I need to translate to a name. For example, the number 1 needs to show up as "VZE" on the loaded web page. The seco...more >>

INSERT MAX(ID) Syntax problem
Posted by Targa at 4/29/2004 11:32:21 AM
Trying to get the ID (autonumber) of a record that has just been inserted and insert it into a different table but I either get a syntax error or a data type mismatch. Ive tried switching the Sched_CustID field type to both number and text. I think it has to do with my quotes or double quotes on ...more >>

Time question - add 15 minutes
Posted by Digit24 at 4/29/2004 11:30:49 AM
I have a time field in an access database and I want to be able to add 15 minutes to it. I can do this manually by taking the minute, adding 15 and then if it is over 60, changing the hour, but is there an easier way like with adding a day to a date by simply adding 1? Many thanks ...more >>

Using Invalid Characters
Posted by Jay at 4/29/2004 9:59:50 AM
I am using MS SQL for my ASP application and have several 'comments' fields. Obviously in these fields users are going to enter invalid characters and when they try to submit they will receive an error message. How can I deal with these invalid characters so the information they are trying to sub...more >>

user_id as session variable
Posted by JT at 4/29/2004 9:22:25 AM
the application i'm working on stores user_ids as a session variable. many stored procedures throughout the application accept this user_id as a parameter. the problem is that often times a user's session will expire without them knowing it (like if they left their browser open for 2 hours wit...more >>



Database Connection Question
Posted by christiancooper77 NO[at]SPAM hotmail.com at 4/29/2004 5:20:10 AM
I have a question for you, it involves IIS and database connections. When I got hired, we were using an asp include file with database functions and would open and close the database connection multiple times in 1 script. Common sense dictated we should only open the connection once, get all...more >>

Huge Spreadsheet Input
Posted by cdars NO[at]SPAM hotmail.com at 4/28/2004 9:34:58 PM
Dear all, I am working on a re-development project. The objective is to replace an old "system", which make use of local MS Excel, with a new web-based application. Platform: SQL2K, Windows Server 2K3, ASP.NET My users are damn familiar with MS Excel. They can work fine with huge spreads...more >>

Error in updating memo field
Posted by S N at 4/27/2004 9:19:24 PM
I have an access table with fields including a Memo field. When I try to update that table using ASP page (using OLEDB for ODBC driver) the record after the update command is updated alright. But the memo field in the recordset after updation does not contain the value from the record just updat...more >>

Function OpenConn
Posted by Jim Bowman at 4/27/2004 6:24:42 PM
My Authorware training piece sends user scores to a Microsoft Access database through an .asp page. In opening the connection to the database, I use this code: function OpenConn() strConn="Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & Server.MapPath(".") & "\open_database.mdb;" ...more >>

Problems with deleting views
Posted by Cecil Westerhof at 4/27/2004 6:23:51 PM
The application I have to maintain uses dynamical views. I have the following code: oOrgDbConn.BeginTrans DropStr = "DROP VIEW MV_22_" f.WriteLine Now() & " " & "trying to drop view " f.WriteLine Now() & " " & DropStr oOrgDbConn.execute DropStr, , adExecuteNoRecords + adCmdText ...more >>

DDL / Schema extraction
Posted by Laphan at 4/26/2004 9:35:38 PM
Hi Guys If poss, could you please answer the following queries: 1) Is there any way in Access 2000 that I can get the DB schema out? Ideally its for point 2 below, but just so that I can print it out to see what I've created/structured would be nice. 2) I've been doing my new site with an...more >>

ASP Page Refresh or Display Rate when Accessing an Acccess DB
Posted by PFMcCracken at 4/26/2004 4:46:24 PM
This is telephone directory that expands the display at each office to show the personnel under each office or section. Everytime this page is displayed it seems to reload itself completely and this takes alone time. I have been trying to find the code or method to fix this. I tried tellin...more >>

Tree query
Posted by Pete Casey at 4/26/2004 3:34:31 PM
Hi, I'm gonna ask this in a different way to see if it gets a different response. I am building a page that queries two access tables. It is in fact two quiries in one as I want to do this. Tables consist of the following. Table 1: TeamID Team Table 2: PlayerID Player Team S...more >>

"Microsoft ODBC for Oracle" Failing when connecting to a 9i server
Posted by Scott Buerkley at 4/26/2004 3:34:04 PM
We just upgrade our oracle server from 8i up to 9i and now our asp pages are failing. We were using the Microsoft ODBC drivers for Oracle V 2.573.7926.00 to connect othe 8i server and it worked great. We are using an ADO connection on as ASP page to display data. This is the error we are get...more >>

Upgrade to IIS 6 broke Access DB
Posted by Walt at 4/26/2004 12:00:24 PM
We upgraded to IIS 6.0 along with Windows Server 2003 and all of our Access Databases are not working. I believe the connections are not working because you can open them in access. These are access XP. Any ideas, We upgraded from IIS 5.0 and 2000 Server...more >>

Error reading from Access Database
Posted by Mohammed AM Dwaikat at 4/26/2004 11:33:52 AM
Hi Folks Actually I am new to ASP, I will be thankful so much if anyone could help I have an Access2000 Database, I have Listing.html that has links to several ASP Pages, I pass a variable to ASP, And according to variable value I open the database and get its value The problem is that so...more >>

Stumped
Posted by Roger Stenson at 4/26/2004 10:47:29 AM
Hi all I am receiving the following message in a routine which logs the transaction before registering a new user. It fails on the open instruction a.. Error Type: ADODB.Recordset (0x800A0BB9) Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another. /...more >>

Databinding client side. Still only option RDS?
Posted by K.M.L. at 4/25/2004 8:35:29 PM
or since RDS is considered obsolete by MSFT, is there another way? Seems RDS way is.. <OBJECT id=rds classid='xxxx'> </Object> <Table recordsource="#rds"> <TR> <TD><span datafld="id"></span></TD> <TD><input type=text datafld="FirstName"></TD> </TR> </TABLE> <Script VBsript> S...more >>

Oracle 9.2.0.3.0 ODBC Fails
Posted by Scott Buerkley at 4/25/2004 7:58:44 PM
We just upgrade our oracle server from 8i up to 9i and now our asp pages are failing. We were using the Microsoft ODBC drivers for Oracle V 2.573.7926.00 to connect othe 8i server. At the beginning we were getting and odbc error when it was trying to connect in the script. After installing t...more >>

Whats my RecordSet doing?
Posted by Laphan at 4/25/2004 12:14:42 PM
Hi All I'd just like to confirm something with you if you don't mind. Basically when my ASP page contains 3 or 4 queries, in my own little world I thought I was conserving resources by reusing the main ADODB objects of Connection, Command and Recordset rather than continually creating, drop...more >>

Height of a cell
Posted by Maarten at 4/25/2004 10:53:12 AM
Maybe this is not the right group but maybe some of you had the same problem. When writting a asp with a table and 3 vertical cells, how to calculate the hight of the last writed cell. I need to know this to fill up the 2 and 3 row with info so that the 3 cells have almost the same content as ...more >>

Union Queries In ASP?
Posted by MDW at 4/25/2004 8:06:03 AM
I've never tried this before, and maybe it doesn't work. I'm building a very simple page for someone else's Web site. It's a sort of schedule, and consists of three tables, each of which has two columns. The columns either represent a person, or the date upon which an event occurs. The tables are tb...more >>

Dynamic Tables
Posted by Pete Casey at 4/24/2004 3:35:33 PM
Can anyone help me with this dynamic table I'm trying to create. I will try and explain what I'm trying to do. It's basically a tree type thing which has it's data come from two tables. Table One (T-Area) has the following fields. AreaID area Table Two (T_section) has these fields....more >>

response.write from acccess problem, please help
Posted by Crnaovca at 4/24/2004 11:15:08 AM
I have a text in access database, annd it is copied from Word. Problem is that when I want to put it on screen, usin response.write, all paragrafs and new rows in tex are deleted, so when I want text to go in new row, on place where I pressed Enter, text is displayed like there is no new row. ...more >>

Compacting access database using asp pages?
Posted by S N at 4/24/2004 11:05:40 AM
How can I compact an access database on the webserver of my site using code in ASP page? ...more >>

How to Compact database using ASP page
Posted by S N at 4/24/2004 11:01:07 AM
HOw do I compact the access database on my web server using asp page? ...more >>

ASP connect to MS SQL Server 2000
Posted by Jan Schmidt at 4/23/2004 7:06:36 PM
Hi Ng, i'm a nebie to ASP so please be kind ,-) I'd like to access (read and write data) from asp on (IIS if this Information is needed) MS SQLServer 2000 installed Databased. Let's say i've got a database called TESTDB with a table called TESTTABLE. A ASP File lying on Serverside. So c...more >>

Global.asa
Posted by sean at 4/23/2004 4:55:12 PM
HI There, I have a question regarding the global.asa file, I want to reference the ado "TypeLib" in my application, will this be included in all files & files located in sub directories of the application? also how can I tell what version of ADO is installed on the target server? Thanks in ...more >>

ADODB Connection Question
Posted by Astra at 4/22/2004 11:22:02 AM
Hi All Just IYHO, which is better: METHOD 1 ========= Creating the ADODB connection obejct at the beginning of an ASP page in an include file. Functions containing the requirement to create any ADODB commands or recorset ojects to do a query and then close/drop the same objects in an i...more >>

Simultaneous SQL queries to Access
Posted by Jim Bowman at 4/22/2004 6:25:46 AM
In evaluating asp and an Access database as a way to store user data from an Authorware training piece, I ran across this article: "For performance and reliability reasons, it is strongly recommended that you use a client-server database engine for the deployment of data-driven web applic...more >>

SQL queries when Access is open
Posted by Jim Bowman at 4/22/2004 6:21:25 AM
My Authorware training piece sends and retrieves data through asp pages that are connected to an Access database. Three asp pages use SQL SELECT, INSERT and UPDATE statements. The data in each user record is small: about 25 two-digit numbers. The SQL queries fail when the Access databa...more >>

ntext formatting
Posted by Darren Woodbrey at 4/21/2004 11:19:36 PM
I have an ASP page that submits a form to a SQL database. There is a textarea that submits to an ntext field. When I output this to an ASP page using a Select statement it is all one string. Is there a way to make this appear exactly like the user enters it into the original text box? I have ...more >>

Using wild card in DateTime
Posted by jt at 4/21/2004 10:17:41 PM
Need help on defining a SQL query statement. I have a field in my table defined as "Date/Time". This is in Access. The data looks like this in the field, "4/19/2004 8:59:17 AM" when entered. When I run the sql query statement with date and time like this, works well. SELECT * FROM [Florida...more >>

System error 5
Posted by NeDall at 4/21/2004 4:10:39 PM
Hi To day I suddenly got the same error message when I connected to all my databases using ADODB.conection. "Application popup: ASP Script Error : Specified driver could not be loaded due to system error 5 (Microsoft Access Driver (*.mdb))." All the codes works fine on my mirror com...more >>

sp_helplogins, nextrecordset
Posted by Sharon at 4/21/2004 1:58:09 PM
Hi, I am executing the sp_helplogins on my database, in an effort to obtain all the databases and roles a user has, for usage in an ASP menu of sorts. sp_helplogins returns 2 recordsets, the first of which I could care less about. The second contains all the records I want to parse th...more >>

Uploading using ASP
Posted by anuragsaxenajpr NO[at]SPAM hotmail.com at 4/21/2004 12:32:52 PM
How can I upload any image etc to server using ASP 3.0,Is there any object supported by ASP, Also How can i make autoresponder using ASP 3.0...more >>

passing 2 values from a page to another ASP page
Posted by Mohammed AM Dwaikat at 4/21/2004 10:14:22 AM
Hi folks I am new to asp, but I have 2 pages, I submit a value in a textbox, press submit button to open the other page that searches an Access record and display its contents. I want to replace the button with a hyperlink, I did , but how to pass the 2 variables , or one variable Please if a...more >>

Session Variable
Posted by Darren Woodbrey at 4/21/2004 9:10:00 AM
I have a website running on IIS 5.0. The users are authenticated using certificates mapped to their windows username. This si done behind the scenes so the user does not actually have to login. Is there anyway to get this username into a session variable? I am able to do if I create an actu...more >>

MS Access Query Search Fails on Boolean
Posted by jt at 4/21/2004 7:50:12 AM
I have a query that I would like to search on where my field is a boolean. This is the error and the sql statment below, Error: No value given for one or more required parameters. SQL : SELECT * FROM [tablename] WHERE Red-Flag = True Appreciate any help on this, since I am new to SQL. ...more >>

where from begin links to books
Posted by NewDeveloper at 4/21/2004 5:36:02 AM
I am developer for windows applications I have to use asp 3.0 visual studio have asp component wizard but I anderstude almost Nothing from generated code where from begin? I know using ado 7 ...more >>

MIN - returns nothing?
Posted by TomB at 4/20/2004 10:19:54 AM
SELECT MIN(StartTime) FROM tblLocationBookings HAVING (MIN(StartTime) > CONVERT(DATETIME, '4/20/2004 10:30:00 AM', 102)) I expect the above to return the next "Booking" after 10:30 am on 4/20/2004. It returns nothing There is data in the table; 4 of which are on 4/20/2004 w...more >>

recordset paging won't show second page
Posted by tonyabishop NO[at]SPAM hcse.ca at 4/20/2004 7:07:10 AM
Hi I'm querying a database and returning the records using absolute page and all that stuff. The user can choose to do a keyword search or display all records. the page is set up so that the sql statement gets passed back to the page using the querystring method. This works great when the ...more >>

Connecting ASP.NET to SQLServer,Somebody,Please!!
Posted by Mohammad-Reza at 4/20/2004 5:21:03 AM
It is now 3 months that we are trying to connect ASP.NET to a SQLServer located on another system However we act,we get a fatal error We need someone to explain the way of connecting to SQLServer step by step from either VisualStudio.NET or FrontPage 2003 Our goal is to retrieve records from SQLS...more >>

ESCAPING USER ENTERED CHARACTERS.
Posted by Don Grover at 4/19/2004 5:22:19 PM
Hi I have some blind users who use voice translation software to enter data into an MSQL 2000 db using ASP (Web) Occasionally I get ' or other puctuation characters that fail the inserts or updates. I handle these using the replace function but some still get through !!! Is there a list of...more >>

error when trying to delete object
Posted by Mikael Hellström at 4/19/2004 2:19:10 PM
i get this error when i am trying to close my object after this operation! What can be wrong? Regards Mikael Error Type: ADODB.Recordset (0x800A0E78) Operation is not allowed when the object is closed. My code <%@ Language=VBScript%> <!-- #include file ="./connectionStr\conStr.inc" -->...more >>

Parent/Child relationships, relating to ADO and SQL Server
Posted by jhoge123 NO[at]SPAM yahoo.com at 4/19/2004 1:33:38 PM
I'm working on a back end for an ecommerce system that has two tables that both need data in a one to one or more relationship. The product table must have at least one corresponding record in the package table, but could have more as some products some in several packages. Of course, each pac...more >>

Unable to connect to MSAccess database
Posted by Joe Abou Jaoude at 4/19/2004 2:07:23 AM
i m trying to connect to msaccess database from an asp page in the same folder several days ago without any success,so any help would me much appreciated. I have windows 2000 and msaccess 2000 set conn= server.CreateObject("adodb.connection") conn.Open "PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA ...more >>


DevelopmentNow Blog