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 > september 2006

How do I find 'modified date' of table
Posted by David Floyd at 9/30/2006 12:22:07 PM
I want to include in a web page a statement something like: "The above data was last modified on nn/nn/nnnn" Using MSAccess I see that on the Tables window and using the 'Details' icon or the 'properties' icon for the table in question there is a modified date recorded. Can this date be e...more >>


ASP session & AJAX
Posted by Giles at 9/29/2006 5:06:01 PM
I have a JS ajax function that calls an ASP page every minute to check whether a record is free for editing. It is on a PW protected site with a 1 hour timeout. For some reason, when the browser is left open & unused, the session is not timing out. I'm presuming the ajax call refreshes the s...more >>

connection string defined in a global.asa file
Posted by philea_92 NO[at]SPAM msn.com at 9/29/2006 2:11:25 AM
Hi, I have a connection string defined in a global.asa file.. Am I referencing this correctly from this script? the connection string is defined as application("bureaudb") <% Dim strFullname, strUsername, strPassword, strImportdirectory, strExportdirectory, strVerifypword Dim adoCo...more >>

error messages in regards to connection strings
Posted by Chris Williamson at 9/28/2006 5:26:57 AM
how is it possible to show error messages in regards to connection strings?...more >>

very weird access/ASP error
Posted by Joe Reynolds at 9/27/2006 4:52:59 PM
i have a memo field in an access database. the ASP page enters data to this field just fine.... however the following test (dont ask): Hello Charlie, you have no idea who I am but I thought you should know that your wife has been spending your mortgage money on things other than paying the...more >>

multiple connections to access DB?
Posted by Joe Reynolds at 9/27/2006 4:08:52 PM
if i have an ASP page that does INSERT's and SELECT's from an access database, what happens if more than 1 web user hits the db at the same time? can it handle it ok or do i have to do something in my code? ...more >>

ASP Error Handling (conn.Open) (ADODB.Connection)
Posted by Bill Anagnostos at 9/27/2006 2:15:02 PM
I have an ASP file (shown below) which I call from an HTM page to query a database table. It works correctly if I pass it the correct connection string. I am trying to make it fail with a proper error message if I change the UserID value in my connection string to a non-existing user (as an ...more >>

filtering DataGrid on the fly
Posted by michael sorens at 9/27/2006 2:14:31 PM
I am well-versed in Windows Forms but am new to Web Forms with ASP.NET. I want to create a simple application that loads all rows of a SQLServer table into a DataGrid, then allow the user to filter the rows on-the-fly via entry in a TextBox. I have done this in a WinForm application by ...more >>



Unicode Website/Forms save to SQL-Server2000 Problem
Posted by cebsystems at 9/27/2006 1:39:01 PM
We're using SQL-Server2000 as follows... There is a form at this asp-application where we enter a word with .cz-chars like this: 'Ohřvače'. All this form, as well as other settings are set to UTF-8. Output is ok, even in the sql-string we can see the word written correctly, but in database,...more >>

SQL Question
Posted by Paul at 9/27/2006 8:25:02 AM
Hello: I have a SQL question. If this is the improper board to post this question on, please let me know where you would suggest I post it. I have a SALES table with the following schema and structure. ID Status Date -- ------ ---- 1 Open 1-1-2000 2 ...more >>

cant get multiple random records (can get 1 ok)
Posted by Joe Reynolds at 9/26/2006 9:37:11 AM
hi everyone. i have the following code that pulls a random record from an access database: Randomize() randNum = CInt((oRS.RecordCount - 1) * Rnd) oRS.Move randNum Response.Write(oRS("FIELD1") ) this works fine. it opens a recordset, gets a count of numrecords, then moves to a random re...more >>

i need script debuggin help
Posted by josephweiss NO[at]SPAM gmail.com at 9/26/2006 8:29:35 AM
I hate to admit it, but I have never realy used any debugging (not sure how to actully do it), and now I need to figure out how. I have a 5MB access db that I am doing simple stuff with. it's just a customer db that I am displaying by a 'date' field. All has been working well for quite some t...more >>

How to create a mailto link?whats mistake in this Response.write "<A HREF = 'mailto:" & objrs("EMAIL") & "'>" & objrs("EMAIL") & "</A>"
Posted by divya at 9/26/2006 2:11:31 AM
I have a Column in the Table named EMAIL which containd all the email addresses. Now I want to create mailto links for the entries of this column. I used something like this inside the Do while Not objRs.EOF loop. Response.write "<A HREF = 'mailto:" & objrs("EMAIL") & "'>" & objrs("EMAIL") ...more >>

Chronic database connection failure
Posted by neveroncontact NO[at]SPAM hotmail.com at 9/25/2006 1:01:14 PM
My web server is running Win2k3 server with IIS 6.0 and all service packs installed. the database is on a Windows 2000 Adv. Server machine running SQL 2000 and all updates installed. Everything works properly but every 2-6 hours, the web server will begin to give database connection errors an...more >>

need to refresh data on page efficiently
Posted by Joe Reynolds at 9/25/2006 11:13:01 AM
have an ASP page that generates a random quote from an access db. i need to include a button that says "next" and when clicked a new quote should be displayed. right now theres just a simple <a href> tag that points to the same page. this reloads the page and displays a new quote. but there ...more >>

Database Access via HTML
Posted by George Slamowitz at 9/25/2006 6:00:18 AM
Hello all I am looking for a recommenation on a Database access method (for MS SQL, MSDE), any white paper, some infomation or even some code snipplets on how to read and write to MS SQL in a pure HTML environment. Thanks in advance, George From http://www.developmentnow.com/g/61_0_0_0_0_...more >>

please help - mysterious extra characters appearing in SQL update
Posted by digger440uk at 9/24/2006 9:06:25 AM
This is a real strange problem. I have some asp code (javascript) that sends a simple update sql command to mysql 5. my sql is this UPDATE Users SET YouGotMail = -1 WHERE pas_User = 'Clive' and when it's sent to the database this is the error Error Type: Microsoft OLE DB Provider for ODB...more >>

Crystal report Generation
Posted by Jack at 9/24/2006 2:17:01 AM
Hello All, Can anyone here suggest me a solution to solve my follwoing problem? 1) I got a .aspx page and on that page i got a combo box and a command button. Combo box displays records from the database. I wanted to generate a report which is based on the record that user selects from t...more >>

Update record in the same form
Posted by tony wong at 9/22/2006 12:00:00 AM
i wish to update a record by clicking a button without saving in a popup window. Can i do it by asp, vbs or javascript? Thanks a lot. tony ...more >>

Websites & Access Databases
Posted by RSteph at 9/21/2006 8:19:02 AM
I've just recently gotten into website design. I've got a website useing .asp pages, and currently one page is pulling in information from a database to display on the page. However I run into a problem where, if I have Access open, to say add more data to a table, or add new tables/forms/etc....more >>

Access connection mysteries
Posted by MikeR at 9/20/2006 8:08:52 PM
2 issues. The second one came up trying to solve the first. First - On my local machine XP Pro SP2 IIS6 I have 2 ASP pages connecting to an Access 2000 DB, using DSN-less ODBC (I know - but that's the second problem). The structure looks like root subweb db roster meetin...more >>

Order By With Agregates??
Posted by AJ at 9/19/2006 7:55:01 AM
Hi All, I have the following query: SELECT ID, First(Company_Name) AS Company, First([level]) AS pkgLevel, First(QueryNbr) AS QueryN FROM CompaniesByName GROUP BY ID What i need to do is add an order by clause! Essentially i need to order by the 4 & 2 columns ASC. I do...more >>

Date Range lookup between tables in asp 2.0
Posted by NickCR_04 at 9/18/2006 6:36:02 AM
Hi all, I am (using ASP.net 2.0 in Visual Web developer 2005 Express Edit) trying to set up an asp front end to a music DB which has 2 main tables: 1) MUSIC - containing music release information (eg label, artist, name, date reviewed) 2) ISSUES - containing 3 columns - 1) a list of issue...more >>

Connecting to an Access database
Posted by brian.lukoff NO[at]SPAM gmail.com at 9/17/2006 9:32:22 PM
In a KB article (http://support.microsoft.com/kb/299974/), it is stated: "When you run Microsoft Jet in an IIS environment, it is recommended that you use the native Jet OLE DB Provider in place of the Microsoft Access ODBC driver. The Microsoft Access ODBC driver (Jet ODBC driver) can have sta...more >>

Record Check Error
Posted by john NO[at]SPAM johnsbooks.co.uk at 9/17/2006 2:14:02 PM
I have the following ASP code, which is looking at an Access database and table: objRS.CursorLocation = adUseClient strUser = Trim(Request.Form("Contributor")) strPword = Trim(Request.Form("Password")) strQuery = "SELECT [ProperName] FROM [AuthUser] ...more >>

Source code for Shopping cart
Posted by softwareakash NO[at]SPAM gmail.com at 9/16/2006 2:01:19 AM
Hi All Here is a link where u can download source code of ASP shopping cart. Its totally free and hassle free download. The only thing is that the poster has broken the source code in various zip files. Anyways the code is nice for starters so you can try here is the link http://www50...more >>

access stored query problem
Posted by Jimmy at 9/12/2006 10:49:42 AM
i have a SQL query that selects a certain column from a table, then based on the recordset.count generates a random number and does a MoveTo(randomnumber). this works fine but i want to do it as a stored query. my stored query is named "random". when i execute it like this: Set oRS = oConn.E...more >>

Select query
Posted by MikeR at 9/10/2006 10:38:59 PM
I have 2 tables in an Access DB. An ID may have 1,2 or 3 rows. The g columns may be have either NULL, an F, or a P. I want to select IDs where none of the rows for that ID contains an F, and find the name in another table Another table contains IDs and names ID g1 g2 g3 g4 sem ----------...more >>

Error message 80040E57
Posted by Neen at 9/10/2006 6:15:42 PM
When trying to insert data into an Access DB (ASP/VBScript), I get this message: Error Type: Microsoft JET Database Engine (0x80040E57) The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data. I was trying to insert 8 characters into a t...more >>

File Listing
Posted by Marco Pais at 9/8/2006 12:46:52 PM
Hi there. First of all, sorry for my poor english. I have a problem that I don't know how to resolve. I want to make a dynamic image gallery. With an ASP script, I will read the images from a folder and display them on a table, for example. The script is something like this: <%@ Language...more >>

newline in Access db....
Posted by Jimmy at 9/8/2006 11:36:08 AM
asp page writes to a "memo" field in access. if the form contains: line1 line2 line3 when i submit the page, only "line1" is written to the DB. anyone know how i fix this? ...more >>

Speed up processes?
Posted by J at 9/8/2006 9:49:24 AM
Hello. We have some .asp pages running on our W2K Server machine that calls and runs some stored procedures that's on our other W2K Server SQL Server 2000 machine. We are using https for these web .asp pages and was wondering if there was any way to speed up the process of the .asp pages out...more >>

help with general design of application
Posted by Jimmy at 9/8/2006 8:35:32 AM
the web app that im creating will allow a user to input their email address, and a "story" (for lack of a better term). i have no way of knowing if this story will be 2 words or thousands of characters. i imagine i would put some kind of limit on the field at some point so that people could...more >>

Asp and access problems
Posted by polilop at 9/8/2006 12:00:00 AM
I have an asp page in which i get recordsets from a access db , when i do a query from the asp page i get EOF (no rs),but then i make the same Query inside access, and i get the data, then i return again to my asp page and for some reasone it gives me some data back, and allways after i do th...more >>

Has JET been discontinued?
Posted by clintonG at 9/7/2006 1:25:35 PM
I thought JET was discontinued but I have no confirmation from an "official" page. Comments? -- <%= Clinton Gallagher NET csgallagher AT metromilwaukee.com URL http://clintongallagher.metromilwaukee.com/ MAP 43°2'17"N 88°2'37"W : 43°2'17"N 88°2'37"W ...more >>

asp questions before i begin project
Posted by Jimmy at 9/7/2006 10:21:05 AM
hi everyone. building a website for a client and have a few questions related to best practices, what i should use etc... the site will use a database to store info entered by users. each visit will allow the user to input no more than 2 fields: email address, and a comment field. the site has...more >>

Update function (MS Access >>> SQL Server 2005)
Posted by Russell at 9/6/2006 1:15:06 PM
Hi, I started developing a project using access and am new to SQL server. One of the scripts I have updates a table entry using access no problem yet throws an error with SQL server on line "RS_Utility.execute(strSQL)". Is there a difference between a standard update statement between Access an...more >>

ADODB.Recordset error '800a0cb3'
Posted by morello at 9/4/2006 6:54:01 AM
Hello Everybody, I have the following ASP 3.0 code with Sqlserver 2000 Db: <% Dim ProvStrDb, OBJdbConnection Dim RsRegistraAccesso, SqlRegistraAccesso Const adOpenForwardOnly = 0 Const adOpenKeyset = 1 Const adOpenDynamic = 2 Const adOpenStatic = 3 '---- LockTypeEnum Values ---- Co...more >>

Recordset not returning record
Posted by Iain Bishop at 9/4/2006 12:00:00 AM
I have an Access database with a table called "Content" in it, with keyfields "Element" (Text) and "ContentID" (Number). I am trying to access a record I have in there which has the following values: Element = 'Contact', ContentID = 1. Relevant code looks like this: <!--#include file="Connect...more >>

ASP using SQL Server with Integrated Security
Posted by dallas_princess at 9/1/2006 9:39:02 AM
Hello all, I am new to classic ASP , i am basically a .NET developer. But i got a issue to solve at work which relates to ASP. We have a classic ASP app which has Sql server credentials in connection string. Since this is not secure , we are thinking of making it as Integrated security....more >>

Anyone have an example of a multi-level listbox?
Posted by manningfan NO[at]SPAM gmail.com at 9/1/2006 6:20:22 AM
I'm looking to add a multi-level listbox to my page. Essentially I need what ebay had (has?) where as you select something from level 1 it writes an ID into a textbox and alters what appears in level 2. Then when you select something from level 2 it writes a corresponding ID into the textbox a...more >>


DevelopmentNow Blog