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 > november 2005

Getting a correctly formatted table from a GetRows array
Posted by Laphan at 11/29/2005 9:05:23 PM
Hi All Somebody kindly sent me a routine to do this sometime ago, but for the life of me I can't work out how it works and would prefer to use a simpler method so that I can resolve any future issues with it. Basically I have an array populated from a recordset getrows and I want to crea...more >>

Oracle Connection
Posted by EvanK at 11/29/2005 8:45:04 PM
We are trying to connect to an Oracle database using ASP w/jscript and we can't get any response from the server, the browser just hangs. Any suggestions on how to test the connection or any connection information please?...more >>

Problems when passing a sql statement containing non-english characters to a ADO.Recordset object
Posted by tiffany at 11/29/2005 3:01:28 PM
Dear Sir/Madam, I am working on a web site which talks to a sql server in the backend. I need to make the web page searchable on non-english characters. So on the main page you can type non-english characters in a textbox and then click on "Submit" button. On the next page, I will display t...more >>

Using ADOX to create and modify MySQL database
Posted by Marja Ribbers-de Vroed at 11/28/2005 9:29:29 PM
The following routine is part of a custom VBscript class in my = webapplication: Public Sub wsAddColumnIndex(p_sTable, p_sColumn, p_bUnique) Dim l_oIndex Set l_oIndex =3D Server.Createobject("ADOX.Index") wsFeedback("  Creating index On Column: " & p_sColumn) With l...more >>

Q: about returned records from MDB
Posted by Russell at 11/28/2005 4:25:27 PM
When I call my ASP script to connect to my database, to return a series of records, does the server cache the results and dump the series of records to the screen all at the sametime? or does the server display each record on the screen when it has been caught? Basically, i want to know if th...more >>

Recordset.Open Causes Lockup/Timeout
Posted by boxboy at 11/28/2005 12:00:00 AM
Hi, I was/am having a problem with a web hosting company (verio.com) running Windows Server 2003. The problem is as follows: The site I am working on (http://www.codebot.org) uses active server pages to loaded up various rss feeds and parse them into pretty response documents. This works g...more >>

Suddenly ODBC driver does not work
Posted by Rolf Rosenquist at 11/27/2005 12:00:00 AM
I have an application that has worked fine for more than 2 years. Suddenly the users and I get an error message when trying to open the MySql database for writing. The web host says that I may have a too complicated script or anything else. So far no help from them. The page stops and shows "O...more >>

Data Access Layer
Posted by Jono Jones at 11/25/2005 1:58:02 AM
Hi there, Could you point me to a good resource for creating my data access layer? I have my database, I have me front end, but I want a nice layer between them so I can just call functions in my code behind to return me a list etc or the contacts of my page. I'm coding system to log contr...more >>



ASP interacting with Oracle server problem
Posted by pj_servadmin at 11/23/2005 6:49:01 PM
Here we go: IIS 6.0, win2k3, using Classic ASP and the Microsoft client for Oracle connecting to Oracle 9.2.0.7 (latest patch). The problems started appearing 2 days after the Oracle server was upgraded. 2 of our sites with Huge, nested, multi-table queries started having problems insert...more >>

Retrieving both a recordset and output parameters from a Stored Procedure
Posted by stjulian at 11/23/2005 3:04:08 PM
Within a block of programming to call a adCmdStoredProc through the ADODB.Command object (appending parameters, etc), can the recordeset be retrieved with set rs = adoCmd.execute as well as output parameters with myoutparameter = .Parameters("@myoutparameter").Value i...more >>

Query an XML file like a recordset?
Posted by Byron at 11/23/2005 11:20:09 AM
With ASP can I query an XML file for a record, just like I would a database table and fill the data values into variables? I have a product list in XML and want to fill a web template with individual product data. If the XML is structured like this: <product id="productid" name="Product Na...more >>

ASP login form connecting SQL
Posted by tractng NO[at]SPAM gmail.com at 11/22/2005 3:35:05 PM
Guys, I really need help with this. I need to creat a login page for the website. Its an existing site that connects to SQL 7 with a local user in the database called 'maya'. It was written by a former employee I want to be able to creat a table(called user) that has username & passwor...more >>

I'm facing this problem in PHP
Posted by developers at 11/21/2005 4:32:27 AM
Hello dex members, you've been great help to me ,and i'm hopeing to find the answer to my problem here . i'm creating this php loop to build a site map each level of this loop have font but when i run this code it only reads the font size and doen't read the color.this is the code please re...more >>

delete related records
Posted by polilop at 11/21/2005 12:00:00 AM
In my database i have a table that contains topics and it is related to another table which contains subtopics. What i have to do is delete a record in the topics but i allso have to delete the related records in the sub topics (as they are related). Is there a easier way to do this then havin...more >>

What Recordset type / cursor is needed
Posted by Steven Scaife at 11/18/2005 11:57:37 AM
Hi i have a page that pulls information from a database it has around 80 records each day its run, the problem is that the view it uses is built fdrom many smaller views which use a lot of outer joins, so the search takes approx 30 secs a go. I have coded the ability to sort on column heading...more >>

Yes/No/Other option strategy
Posted by Dinghy at 11/18/2005 11:09:39 AM
Hey All, I am very early in the development of the Database and the ASP page and looking for the opinions of the Gurus for an approach that will give me the best page performances. I am building a form which will have several "Yes/No/Not Applicable" questions. The page will send the data...more >>

passing javascript variable data to asp variable
Posted by Steve Cosh at 11/17/2005 7:40:06 PM
Hi, is there any way of passing a javascript variable over to a asp variable so i can write it to my database. Thanks...more >>

UPDATE in loop?
Posted by ks at 11/17/2005 4:32:03 PM
I'm storing a calculation in a variable and I want to then take that variable and update the db right after it is calculated. I can get all 172 records to show the overall calculation on the page, but not in the db. I'm not having any success, it keeps all of the db records at .000 Below ...more >>

What looks like a basic SQL query still not resolved
Posted by Laphan at 11/17/2005 10:54:50 AM
ARRRRRRRGGGGGHHHHH!! Please can you help, I'm going round the bend with this. I have a simple and small table called STOCKCATS, which I need to query to get back a dataset in a particular order, but although it looks simple I can't get it to work. My table schema plus sample data to see the...more >>

need help defining what I am doing
Posted by seventhpoint NO[at]SPAM gmail.com at 11/16/2005 8:06:19 PM
Ok, so I am learning ASP by just piecing stuff together and learning from what I can find online. I have a SQL command set in a variable called strSqlCommand. I also have something setup like this: Set db = Server.CreateObject("ADODB.Connection") Then I have a line in my script like this: se...more >>

trusted sql server connection
Posted by Chris Kemp at 11/16/2005 2:01:07 PM
I'm trying to put together a little sql server asp project first on my pwn machine under IIS, then on a clients machine. I'm using the following connect string: Set Conn = Server.CreateObject("ADODB.Connection") Conn.Open "DRIVER={SQL Server};SERVER=computer;DATABASE=thedatabasename;UID=use...more >>

i wanna help in deling with front page
Posted by developers at 11/16/2005 3:19:23 AM
hello guies , I'm facing this problem ,i'm using front page to creat my web site . and i tried to include a file in all the pages my site so that i can change one page to effect other pages without the need to edit every page separatly. but when i updated this single page it did't effect the...more >>

ASP & POST form control arrays: The more elequent solution
Posted by Scott Butterworth at 11/14/2005 5:36:46 PM
I see a lot of posts on this topic in a lot of different groups that all seem to give the "standard" approach of appending a unique identifier to the end of the ID/Name string. Example:- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <form id="...more >>

Modify data
Posted by Steve at 11/11/2005 2:29:30 PM
Hi all: We have a web site set up where we can enter data into a database, then display it in a web page. The table includes a fields named ptsID, team, points, totPoints, and tourn. The form we are using to enter data includes a name field, a tourn field, and a pts field. When submitte...more >>

excel query problem
Posted by Miguel Martinez at 11/11/2005 10:10:25 AM
hi everyone: i have an asp page where i have to read an excel file and upload a worksheet named "Tarifa" to a table in a sql server database. the problem is that sends me this error: Microsoft OLE DB Provider for ODBC Drivers error '80040e37' [Microsoft][ODBC Excel Driver] The Micr...more >>

Application Design, <SELECT> Multiple or Single Table?
Posted by rayone NO[at]SPAM gmail.com at 11/10/2005 5:54:03 PM
Hi folks. I need advice. 2 options, which do you think is the better option to display/retrieve/report on the data. Keep in mind reporting (Crystal), SQL Performance, VB Code, usability, architecture. Case 1: On a web page I would like to render a dropdown list <single-select>. Eg: Yes...more >>

Simple IF statment problem I hope
Posted by ks at 11/10/2005 3:40:02 PM
I'm getting an ID number from a list of teams. Then I have a table with 4 fields: id, awayteam, hometeam, result. When I run my loop, it seems like I'm losing the teamid field for some reason. The part with the IF statment always defaults to the ELSE. Any suggestions? TIA teamid ...more >>

IIS Permissions help needed
Posted by Jon in Canby Or. at 11/10/2005 3:08:02 PM
I think this is a fairly basic question and the frustrating thing is I've figured it out before but it's been a few years... I'm using IIS and ASP to interact with an Access database. I can successfully open a table and display records. However when I try and add a new record I get an error "...more >>

How to do sum of columns without nested loops?
Posted by mike at 11/10/2005 9:00:38 AM
Hello, I think I saw an aspfaq about this but I cannot find it. How do I fix this so I get rid of the nested sql statements? set conn = server.CreateObject ("ADODB.Connection") conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=\\brink-premfs1\sites\[deleted];" & _ "P...more >>

Migrating ASP/MSSQL app from IIS 4 to IIS 6
Posted by WebTent at 11/10/2005 6:55:03 AM
We have moved an Internet and Intranet site over to our IIS 6 MS Small Business Server 2003. The Internet site works fine, but was done by a company recently. The Intranet site is older and we're having problems from the get go. The first thing I've hit a problem with, I cannot seem to track d...more >>

A Challenging Problem I'm Trying to Resolve ....
Posted by Wayne at 11/9/2005 11:18:44 AM
This is a copy of a message I previously posted in a Microsoft Access = Newsgroup, but it was suggested to me that my problem is ASP related and = not Access, and hence I'm posting in this newsgroup now instead. Hi everyone, I've got quite a specific query that I'm trying to resolve with = Mi...more >>

stuck on random record code example from ASPFAQ.com
Posted by mike at 11/7/2005 2:49:48 PM
Hello, Here's my code: <% Randomize() randNum = (CInt(1000 * Rnd) + 1) * -1 set conn = server.CreateObject ("ADODB.Connection") conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=\\brink-premfs1\sites\[deleted];" & _ "Persist Security Info=False" sql ...more >>

[ASP/VBscript] Test for MDAC version?
Posted by Marja Ribbers at 11/7/2005 12:50:57 PM
Hi, We have a ASP/VBscript webapplication which runs without problems on = lots of webservers.=20 However, recently we installed the application on a shared hosting = account for one of our clients and we've had nothing but trouble with = it. Currently we're having some vague problems agai...more >>

Interesting SQL query requirement for <SELECT> menu
Posted by Astra at 11/7/2005 12:00:00 AM
Hi All Wondered if you could help me with the below query. I have 1 simple table called STOCKCATS that consists of 2 fields. These fields are called CATID and LEVEL. The contents of this table are as follows: CATID LEVEL cat01 <nothing> cat02 <nothing> cat03 ca...more >>

insert Q
Posted by polilop at 11/6/2005 12:12:03 AM
I have a table of persons that have a Personal id (Not auto Number) which is a Primary key. When i do a insert i have to check if it allready exists in the table. I do this by by doing a select of that Personal id and if its not there then i insert it. Is there a way to do that in one step, s...more >>

SQL INNER JOIN Field Namimg Conventions
Posted by ryan NO[at]SPAM jpmicro.com at 11/5/2005 7:00:04 AM
Ok...been working with ASP for a while and something that has always stumped me: My SQL statement is like so: SELECT * FROM tutorSessions INNER JOIN tutors On tutorSessions.provider_id = tutors.provider_id INNER JOIN students ON tutorSessions.student_id = students.id Now, in my tutors ta...more >>

returning single value from stored procedure
Posted by Charles at 11/2/2005 9:03:35 PM
I would like to have a stored procedure that returns the maxium value given the value of two input parameters. I have written the following code: CREATE PROCEDURE ProcMaxResponse @MemberNumber int, @Action nvarchar(80), @NextNumber int OUT AS SELECT MAX(fldResponse) AS fldResponse FROM tblP...more >>

Size value for CreateParameter with text/ntext fields
Posted by John Beschler at 11/1/2005 8:45:08 AM
When passing a large block of text to an MS SQL Stored procedure using teh command object and the parameters collection, what value should I use for the size? The field in the SQL table is defined as ntext. When the page was originally written the authors used ado recordset to populate the ...more >>

ASP & SQL Server - Record Locking
Posted by David Morgan at 11/1/2005 12:00:00 AM
Hello I have a very quick question... can someone tell me what I need to add to my select statements to prevent them from locking any records. I have a busy website where information is viewed frequently and updated infrequently. Most lists etc. are cached in arrays within the Application ...more >>


DevelopmentNow Blog