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 > june 2004

Filter by week: 1 2 3 4 5

Absolute Products the Best for ASP!
Posted by DavidM at 6/30/2004 10:11:54 PM
Hello all -- I recently stumbled across a great company with wonderful products for easy integration within ASP pages. I've even created a community forum to support the products on my site. Please feel free to visit. http://www.micro-mess.com/forum/index.php?c=9 http://www.xigla.com T...more >>


Exception error querying Access database from ASP page... Memo field type?
Posted by Noozer at 6/30/2004 7:51:28 PM
Hi! Working with an MS Access database from an ASP webpage and I'm getting an Exception error... Error Type: (0x80020009) Exception occurred. /Projects/App/Mypage.asp, line 184 The SQL statement looks like so... strSQL = "SELECT Cat, MyNote FROM Notes WHERE KeyLink = " & SelKey rsS...more >>

Problems connecting to Access through FP
Posted by Wayne Smith at 6/30/2004 7:19:10 PM
Applies to: Microsoft Front Page 2000, Microsoft Access 2000 Operating System: Windows 2000 Professional Web Server: IIS 5.0 I've created a very basic registration page called register.asp which = consists of a form requesting a username & password, I then used the = database wizard within FP...more >>

Help needed with ASP form browse for file, create link to file and insert in access database
Posted by googlenews.30.jondodds NO[at]SPAM spamgourmet.com at 6/30/2004 9:44:05 AM
I have a form where a user enters their name, date etc. i also want them to be able to click on a browse button and select a file which will then appear in a textbox. when they press submit i want the file name and path to be put into the database. e.g. "C:\windows\work\work.doc". Basically I d...more >>

MS Access SQL: duplicate record... ?SELECT INTO....?
Posted by Scotter at 6/29/2004 11:41:20 PM
What syntax would you use to dupe a record? Thanks! -- Scotter ...more >>

Unwanted Rounding
Posted by Jeff at 6/29/2004 6:57:17 PM
I have a decimal datatype set to precision 5 and scale 2. When I try to insert a new record via ASP using a stored procedure, my numbers are rounded with no decimals (e.g., 2.2 becomes 2, 2.6 becomes 3, etc.). How can I make sure the values being entered on my web page are inserted as they are ...more >>

VB code is too fast => gives wrong value
Posted by Andre at 6/29/2004 4:45:12 PM
Hi, I need to fetch a value in an Access db, so i use a form to pass the parameter for the SQL statement fromVB client to ASP. After the submit line in VBscript, i expect the value in order to test it and go further in VBscript. But my problem is when clicking on the button, that the VB code ...more >>

OPENROWSET() fails 'Ad Hoc Access..denied' ADO
Posted by K. Lobe at 6/29/2004 2:16:29 PM
I'm tring the the following where strDBtoOpen is the UNC path to an Access Database: ..ASP page ADO Connection object Source property. cn.Source = "SELECT DD.* FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0','" & strDBtoOpen & "';'admin';'', DueDiligence) as DD WHERE ReviewedBy IS NOT NULL" ...more >>



Caching RecordSet
Posted by Serge Myrand at 6/29/2004 9:59:02 AM
Hi, I need an input! I am working on an ASP web application that allow customers to order products from the web site. The products pages show only 20 products at a time, I would like to avoid to requery the table every time the user to navigate between pages (I do not know big the table could...more >>

ASP/Access2002: how do I get column names from table (in order) using OLE DB?
Posted by Scotter at 6/29/2004 3:52:10 AM
When I use ADOX to get columns(fields) of a table, they are auto-sorted alphabetically by name. I need to get the list of field names as they appear when I open the MDB file and view details of the table. I tried using open schema with following code causing this error msg: "Item cannot be foun...more >>

ASP/Access 2002: how do I get column names from table (in order) using OLE DB?
Posted by Scotter at 6/29/2004 3:50:16 AM
When I use ADOX to get columns(fields) of a table, they are *auto-sorted alphabetically by name*. I need to get the list of field names as they appear when I open the MDB file and view details of the table, *not* sorted by field name alphabetically. I tried using open schema with following code...more >>

ADOX - how do I get "maxlength" from columns(...) collection?
Posted by Scotter at 6/28/2004 7:04:56 PM
I see columns collection has only following properties: Attributes, DefinedSize, Name, NumericScale, ParentCatalog, Precision, Properties, RelatedColumn, SortOrder, Type So is "maxlength" somehow part of "attributes" or "properties" property? If so, can you please give me an example of how i...more >>

ASP VBSCRIPT
Posted by Darren Woodbrey at 6/28/2004 4:55:49 PM
I have a form with ship to customer and bill to customer fields. Both of these are required fields. I want to put a check box in the form and if the check box is checked then the value of the ship to customer is loaded into the bill to customer. I need this to happen before the form is submi...more >>

One-to-many relationship in asp 3.0 object design
Posted by Jon Maz at 6/28/2004 3:58:35 PM
Hi All, I need some help optimising my object design. Since one article has 1+ authors, I assume the logical way to represent this is for my Article object to have a Authors property, of type "array", capable of representing any number of authors. The code I have written (below) works, but...more >>

ADOX - how do I select a table by name in order to read which fields it has?
Posted by Scotter at 6/28/2004 2:52:40 PM
Hi - I'm finding tons of examples out there on how to create a table or enumerate thru tables and same with fields but what if I just want to PICK a table I know the name of so that I can read or write fields to it? I imagine it is something like: Set Cat = Server.CreateObject("ADOX.Catal...more >>

ADO recordsets on the client
Posted by Donald at 6/28/2004 7:27:36 AM
I have just read the following by Bob Barrows on another post and am extremely concerned as (like him) I have spent a long time developing an application using disconnected ADO recordsets. "I gave up trying to use recordsets in the client about a year ago.....Unfortunately, we kept running i...more >>

how to eliminate duplicate rows?
Posted by dave at 6/27/2004 5:13:37 PM
Hi I have one table with two field in sql server 2000. Table data looks like this: Field1 Field2 Admin Active Admin Passive Sales Active Sales Passive Systems Active Systems Active Admin Passive Sales Passive Can any one suggest how to write sql query to elimi...more >>

How can I get my parameters collection after a SP call?
Posted by Zenobia at 6/27/2004 1:17:32 PM
Apart from the obvious (the style of the function is all wrong, etc.) can someone tell me what's wrong here. I can't get the values of the return and output parameter from my stored procedrue. After: Set localrs = cmd.Execute I expect the values of all 3 parameters to be available but I c...more >>

need asp code to modify design of multiple MS Access MDBs
Posted by Scotter at 6/26/2004 4:36:23 PM
I have an ASP application with MS Access 2002 backend. This application I have 20 copies of running on the same server. Each application is a different web site. When I come up with a change - usually adding a field to one of the tables in that app - right now I have to manually go into design...more >>

how to solve this?
Posted by Andre at 6/26/2004 11:35:26 AM
Hi, In 'test.htm', there are two Select, one visible, the other invisible. The second becomes visible only if the number of records in a Access table <2. There is also a button to start the VB-procedure. I choose first a value into the first Select (sel1), then i click on the button to start ...more >>

Should I use locks?
Posted by Laphan at 6/25/2004 8:15:08 PM
Hi All I'm really going to show my naivety now, but should I be using locks where possible when my ASP/MySQL DB site is posting data back to the DB? I don't have that many sequential (shall we say) posts and for example, to post an order into my DB it contains the header page data as 1 post ...more >>

DB Paging not working
Posted by M P at 6/24/2004 2:46:22 PM
Whats wrong with my code? I have my AccessDB with 1000 records on tblItems. When I try to write the Pagecount on the screen, it writes "-1". Hope you might help. <% Set conn= Server.CreateObject("ADODB.Connection") conn.Open "FileDSN=file.dsn" strSQL = "SELECT * FROM tblItems ORDER BY Cat...more >>

String Search with SQL
Posted by GH at 6/24/2004 9:17:47 AM
I was trying to write an SQL statment that will do a string search in an Access 2000 database. But I can't seem to figure out how to do it so that the search is case-INsensitive. Here's the SQL I have so far: SELECT autoQuesID,fldQuesTitle,fldBody FROM tblFAQ_Question WHERE fldBody LIKE '...more >>

League tables
Posted by arthurt2 NO[at]SPAM hotmail.com at 6/24/2004 3:56:32 AM
I was wondering if there was any site with a public domain example of how league tables (such as football/soccer tables) could be maintained using ASP and Access databases. Thanks Arthur Turnbull...more >>

Login failed for user '(null)'
Posted by haltenberg NO[at]SPAM yahoo.com at 6/24/2004 3:21:48 AM
I am running a third-party web application (mainly ASP and specific pages with their own extension that are processed by a third-party ISAPI dll) on a Windows 2000 Server (IIS 5.0) which is also a domain controller and has MS SQL 2000 installed. Anonymous access in IIS for this application is se...more >>

where clause with date (asp.net - vb)
Posted by Yannick at 6/23/2004 5:49:27 PM
Hi, I try to execute request on a ms-access database but I have a problem with date. the "myDate" field's format is "date/time" my request is: SELECT myCode, myStuff, myDATE FROM myTable WHERE myDate = #05/21/2004# in ms-access interface, it works fine ! I get real good lines but wh...more >>

Convention for writing parameters in CommandText
Posted by Serge Myrand at 6/23/2004 3:02:02 PM
Hi, This function always return and empty RecordSet (R.eof=True) the problem is probably the way I pass the parameter in the CommandText. To avoid looking at all code first look at this I think my mistake is '[@prmClientNo]' but it does not give any error message. Any help will be appreciate!...more >>

ASP accessing Lotus Notes??
Posted by Vilmar Brazão de Oliveira at 6/23/2004 12:08:35 PM
Hi all, Is it possible ASP accessing Lotus Notes with ADO OLEDB or ODBC?? Does anybody has sample to send me? e-mail: vilmar9820@yahoo.com Thanks, --------------------------------------- Vilmar Brazão de Oliveira HI-TEC Informática ...more >>

Update database without submit button (single page code) ASP
Posted by matt NO[at]SPAM lazertype.co.uk at 6/23/2004 8:58:43 AM
Please help. Trying to update a record using ASP but within a single page i.e. no submit button. Code below. Thanks in advance - ASP Novice! <% Dim objRS__MMColParam objRS__MMColParam = "1" If (Request.Form("cartId") <> "") Then objRS__MMColParam = Request.Form("cartId") End If %>...more >>

VBScript - Hide Text Field
Posted by Allyn Jefferies at 6/23/2004 1:07:08 AM
I am trying to hide a text field using VBscript *** if firstname = "test" Then msgbox ("hello") form.txtlastname.visible = fales end if *** The message box appears correctly if I enter test, but I am unable to hide the textfield. I've tried a million different things, would appreciate...more >>

800a03fc
Posted by krisrajz at 6/22/2004 10:21:01 PM
I got 800a03fc this error when I execute an ASP file which involves retrieving data from an MS-Access 2000 database. Any fixes. Thanx RAJ....more >>

A sort of IF THEN ELSE in SQL
Posted by Laphan at 6/22/2004 8:29:53 PM
Hi All I know this isn't an SQL syntax NG per say (esp MySQL), but there are far more legible gurus in here than the MySQL groups so I hope you will bear with me. All I want to know is if there is a sort of IF ... THEN ... ELSE command in MySQL? The reason being that if a product code exis...more >>

Paging an oRSv array
Posted by Laphan at 6/22/2004 8:25:44 PM
Hi All I used to be able to page through data using the old: oRSv.CursorLocation = 3 ... ... ... ... ... ... oRSv.PageSize = cMax TotalPages = oRSv.PageCount oRSv.AbsolutePage = RSPage ii = 1 Do while not oRSv.EOF and not ii > cMax .... .... ... .... ... ... etc But now I've...more >>

MS Access + date query
Posted by dave at 6/22/2004 4:55:09 PM
Hi I have got access table with two date/time field namely field1 and field2. I made one html form that inputs two dates (it's not mandatory field in form,user can leave blank as well) and submit to asp page that insert data into table. my sql statement is sql = "insert into table (field1,...more >>

Primary Key Violation
Posted by James at 6/22/2004 1:26:39 PM
Hello, I have a database that has a primary key for username. I'm using an ASP page to allow people to register on line, I have username set as primary key. When they try to click to add theirselves to the db through the ASP page, they receive an error - primary key violation. Is ther...more >>

SQL Update, Insert and Delete
Posted by Lou at 6/22/2004 11:55:06 AM
Why do I get the message "Operation must use an updateable query" on an Update, Insert and Delete. Mind you the site worked fine before a recent re-install of IIS 5.0. I'm using an Access Database. Thanks...more >>

Content management system using backend database
Posted by Scott at 6/22/2004 10:46:30 AM
Hi, Can I ask some advice in regards database solutions and content management solutions.? Do you have a philosophy on what is the best for databases - ASP, JSP, Cold fusion, PHP, etc. My company website site is going to be rebuilt and I am the lucky one to do this but I am unsure of the nee...more >>

response.redirect and recordset/connection object?
Posted by nick at 6/22/2004 7:40:13 AM
I have the following code. Should I close and release the database objects before run response.redirect("some url")? or will the response.redirect automatically close the database object/connection like the end of asp script? I am using IIS 3. ....... var cmd = Server.CreateObject("ADODB.Com...more >>

mySQL Connection String
Posted by IPT at 6/22/2004 12:49:03 AM
I use mySQL but can connect. Here is my code: Set myconn = Server.CreateObject("ADODB.Connection") myconn.Open "ODBC; Driver=Sybase SQL Anywhere 5.0;" & _ "DefaultDir=c:\inetpub\dbase\;" & _ "Dbf=c:\inetpub\dbase\mydb.db;" & _ "Uid=dba;" & _ "Pwd=...more >>

Using server.mappath
Posted by John at 6/21/2004 10:57:21 PM
Hi On my local server the physical db path is "C:/Inetpub/wwwroot/StaffDiary/Cal.mdb". I am using the virtual path as conn.Open Server.MapPath("Cal.mdb") but I am getting a; Microsoft JET Database Engine (0x80004005) Unspecified error error. What am I doing wrong? Thanks Regards ...more >>

0x80004005 error
Posted by John at 6/21/2004 9:55:22 PM
Hi I am getting an unspecified 0x80004005 error accessing my access db. What steps can I take to find out where the problem lies? Thanks Regards ...more >>

Access to mySQL db
Posted by IPT at 6/21/2004 8:40:47 AM
How can I export my access db structure (and query/procedure), and import them to mySQL db? In SQL Server, it has function to 'Generate SQL'. In Sybase Watcom, it has 'Unload database'. ...more >>

HTTP 500.100 I don't know anymore
Posted by Jacques Koorts at 6/20/2004 8:30:49 PM
Hi I really don't know anymore how to solve this problem. I bought .NET thinking i can debug my way out of it but still no cigar. This very simple piece of code does not work: Now here some things before looking at the code: 1. In .NET and IE and IIS I've set all possible debugging ...more >>

CMS Uploading Dilema
Posted by Laphan at 6/20/2004 4:19:11 PM
Hi All If this should be in .asp.general rather than db please accept my apols. It is based round a problem with my ASP/MySQL DB so hopefully I've posted correctly. I've created a CMS that allows the user to upload their own company logo gif (to be displayed top left of every page) and thi...more >>

CSV to Access
Posted by CJA at 6/20/2004 2:54:06 PM
Hi I have a very simple script that seems to work OK inserting into an Access table from a CSV file. The problem I have is that the first column (stored as text) has student ID numbers - some start with 100... others start with a character like K or M. It inserts the 100... IDs but not t...more >>

ASP Login Script not working
Posted by Wayne Smith at 6/20/2004 2:33:39 PM
Applies to: Microsoft FrontPage 2000, Microsoft Access 2000, IIS 5.0 Operating System: Microsoft Windows 2000 Professional I am trying to protect a portion of a web site by allowing users to = register a username and password & then login with those details, but so = far I am having only margi...more >>

newbie - Automaticaly Posting
Posted by monki at 6/20/2004 11:57:44 AM
I want to take the post data from a form, validate it etc and then post it out to another page.(on a different site) Is there a way in vbscript to post a form automatically i.e. user completes form & submits via post Process data & validate Post data to 3rd party page Thanks in advance ...more >>

SQL Server Developer's Edition
Posted by David C. Holley at 6/19/2004 7:31:06 PM
I seem to recall reading the SQL Server DE can be used to develop SQL Server DB's, however the information now suggests that that is not the case. I'm looking at using a SQL Server DB for the backend of my website. What do I need to purchase in order to be able to develop the db on my laptop...more >>

What is the best databse to use and why?
Posted by Jerry C. at 6/19/2004 5:18:41 PM
I am developing a web based application that will have about 1000 users. It will be hosted on a Windows 2003 Server and written in ASP, ASP.NET. Which database should I use and why? Access 2003? MySQL? Oracle? Microsoft SQL 2000? Thanks, Jerry ...more >>

slowdowns on server over time...looking for asp errors
Posted by Larry Rekow at 6/19/2004 8:59:23 AM
an app i've written using FP2000 and Access 2000works well enough, but the server, after a few days, slows down and needs to be rebooted to speed things up again. some of the pages i've written use the wizards in FP, but many of the update pages i've used by writing them in just ASP. I *think*...more >>


DevelopmentNow Blog