Groups | Blog | Home


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 > august 2004 > threads for august 1 - 7, 2004

Filter by week: 1 2 3 4 5

options for form entry validation
Posted by Larry Rekow at 8/7/2004 7:34:28 PM
Creating an application website with MS Access on a Windows 2000 Server. I have a page where the user can enter in a "startdate" and "enddate"; these become parameters in a saved parameter query, and it works quite well (thanks especially to Bob B for his help with this issue). Since the ...more >>

querying a view of a lot tables
Posted by Anthony at 8/6/2004 6:37:48 PM
I have setup a database to record our IP Account from ALL of our routers in a form. It's very slow and sometimes times out.. which is NO GOOD.. I was looking for a better way to manage this data. See below : Sample from one router table data looks like this : source destination packe...more >>

Rename table without breaking sp?
Posted by jason NO[at]SPAM catamaranco.com at 8/6/2004 1:54:10 PM
What is the best way to rename a table without breaking esxisting Stored Procs that are dependent on the table....? Thanks Jason ...more >>

Asp variables in sql select
Posted by u8712123 NO[at]SPAM cc.nctu.edu.tw at 8/6/2004 1:38:22 PM
Hello, Is such select sql statment allowed? " SELECT * FROM Photo_SubCategory Where (Status = 1 And Session("id") <> "") or (Status = 0 And session("id") <> "" )" Status is a field in the table. Basically I want to selct a record that satisfy when the field Status = 1 and session("id...more >>

ASP Group Same Records and Give Total Count
Posted by gil NO[at]SPAM ambry.com at 8/6/2004 12:46:32 PM
I need to know how to group like parts, then count them in asp. I have a table with 60,000 + part numbers that I need a total of each one that is the same. For example. Table: 000000-cpq 000000-cpq 199888-001 199888-001 244166-001 Results: 000000-cpq = 2 199888-001 = 2 24...more >>

Passing db values to function
Posted by darby_chris NO[at]SPAM hotmail.com at 8/6/2004 12:26:45 PM
Hello, I am creating dynamic images with corresponding checkboxes by pulling data from an Access database. The onchange event of the checkboxes calls a javascript function which basically stores the image name taken from the database into an array. Unfortunately I am having a problem doing ...more >>

Date and Time
Posted by dave at 8/5/2004 4:56:07 PM
Hello I have one field Dt_Time in sql server 2000. I want to insert current Date (if possible then DD/MM/YYYY)and Time in that field..What should be the SQL for that? Any help would be appreciated.. Thanx Dave...more >>

Database Connection thru FileDSN
Posted by M P at 8/5/2004 4:06:47 PM
I am new to ASP.NET . I am currently using file dsn to locate my ms access database using ASP. Is this also possible for ASP.NET? If yes, can you help me with the code? Mark ...more >>



Trigger
Posted by James at 8/5/2004 11:59:27 AM
I have three tables: class - table of classes ---------- classID className classtypeID classtype - table of class types -------------- classtypeID classtype desc ctrlClass - control table to combine class and class type ----------- classID classTypeID Say a person adds a clas...more >>

asp code jumps ahead of dts package results
Posted by JT at 8/5/2004 10:08:25 AM
ok here is my predicament - i have an asp page that calls a dts package to decrypt a file, then the asp processes the decrypted version of the file. my problem the asp is looking for the decrypted version of the the file but can't find it because the dts package hasn't finished doing its wor...more >>

Blank fields in database
Posted by Sue at 8/5/2004 8:49:32 AM
Hi, I have a blank field in the database for Address. How do I refer to that? For ex: Set hrRS = Server.CreateObject("ADODB.Recordset") hrQuery ="SELECT DISTINCT Division,Description,Code,Address FROM tblEV3Location ORDER BY Division,Description;" hrRS.Open hrQuery,adoCon,2,2 ...more >>

SQL Access issue
Posted by Tim Kelley at 8/5/2004 8:28:47 AM
In my app I am uploading a text file to the IIS server. I then use a stored procedure on the SQL server to import the text file into SQL. IIS and SQL run on seperate computers. Currently they are in a workgroup configuration. The problem I am having is the SQL server does not have access to th...more >>

How can I add to existing Record Set?
Posted by michaaal at 8/5/2004 7:12:00 AM
I use code like this in order to create a recordset and enter data into the recordset: strSQL = "SELECT * FROM InventoryItemList WHERE Desc LIKE '%red%';" set conn = Server.CreateObject("ADODB.Connection") conn.open "Provider=Microsoft.Jet.OLEDB.4.0;Data source=" & Server.MapPath("database.md...more >>

Testing for SQL Availability in ASP
Posted by blah NO[at]SPAM yahoo.com at 8/4/2004 11:25:45 PM
In ASP (vbscript) is there a way to check to see if a SQL server is online before trying to open a connection? I have a situation where we have a SQL server that may be offline for a couple minutes and right the ASP page returns: Microsoft OLE DB Provider for SQL Server error '80004005' ...more >>

eCommerce Query
Posted by Laphan at 8/4/2004 11:14:09 PM
Hi All Bit of general one this, but apart from using Secure Trading or WorldPay for on-line credit card transactions - what are the options for business to accept payments? I've seen the method whereby the order never actually leaves the secure area and the merchant logs in to print the ord...more >>

Another saved parameter query question (MSAccess XP)
Posted by Larry Rekow at 8/4/2004 7:01:04 PM
Trying to retrieve a recordset using a saved parameter query in Access. the query is named "resultsq1x" works fine when i run it within access: SELECT Results.ref, Results.commodity, IMPACTWEB.Field5, IMPACTWEB.Field20 FROM IMPACTWEB RIGHT JOIN Results ON Results.ref=IMPACTWEB.Field5 WHERE...more >>

Sql Server and VBScript decimal problem
Posted by Chris Kennedy at 8/4/2004 2:04:17 PM
I am pulling a decimal value from SQL server and trying to use the format currency and format number function. I am using these values in a large string of HTML to be used in a CDONTS Email. If I use the code fragment below the price variable, which is 3.92 in the database, shows up as £392. Whe...more >>

name of field is in variable: how to use in SQL?
Posted by Burt at 8/4/2004 12:55:01 PM
Hi, The name of the field is in variable 'a'. How can i use it into SQL? This doesn't work: <% a="name" set obj = Server.CreateObject("ADODB.Connection") obj.Open("provider=Microsoft.Jet.OLEDB.4.0; Data Source =c:\db.mdb") sql="select '" & a & "' from mytable;" set rs=Server.CreateObjec...more >>

conn.open problem on client, not on server
Posted by tim.demoor NO[at]SPAM uzgent.be at 8/4/2004 7:23:31 AM
I'm struggling with this problem waaaaay to long... i want to generate a letter when a button is clicked on my page. Ms Word should be opened and you should be able to see the document filling up as the code executes... this is the script i wrote: <script language="vbscript"> dim objw...more >>

IIS-problem
Posted by fredda054 NO[at]SPAM hotmail.com at 8/4/2004 6:52:29 AM
Hi ! I'm running IIS on windows 2000. I was working on a webapplication using ASP, and everything was working fine. but now all of a sudden it's not working. when i click on a link that leads to an asp-page the file-download window pops up. i've encountered this before, but i can't remember wh...more >>

Help 80004005 Error...
Posted by Bobby C. at 8/3/2004 10:46:49 PM
I'm working with a customer who has an NT Server (I think it's SP3) running IIS 4. We just converted the databases to Access 2000 and loaded Access 200 onto the server (we need to make occasional direct fixes right on the server). After making sure we were using the Jet 4 driver for the ODBC DS...more >>

Slow loading
Posted by just1coder NO[at]SPAM yahoo.ca at 8/3/2004 5:25:31 PM
I have a small ASP/MS Access app that was developed on a laptop (P4 1.6 w.256 MB RAM). On the notebook the database access times are about 2-7 seconds for a custom report. The same report page executed on teh server (IIS 5) takes upwards of 30 seconds. The server is a Dual P4 Xeon, 2GB RAM. ...more >>

DB write problems
Posted by usura at 8/3/2004 5:17:56 PM
Hi, I have recently installed my PC with xpPro / IIS 5.1. I am having alot of problems writing to the hd/DB (Access2000) from ASP pages. I have played with the windows permissions but with no success. Can anyone point me to a good FAQ / Tutorial on setting up permissions in IIS J ...more >>

File uploading to server
Posted by M P at 8/3/2004 4:20:14 PM
Can you help me find an asp code that will upload a file from my PC to web server? Mark ...more >>

strange behaviour with date in SQL
Posted by Bjorn at 8/3/2004 1:53:20 PM
Hi, The Access table "dayoff" contains following dates: 8/4/2004 till 8/14/2004 (in dd-mm-yy format). 'dat1' and 'dat2' contains dates coming from two combo-boxs. When 'dat1' contains "8/4/2004" and 'dat2' contains "8/9/2004", no problem: there are deleted. When 'dat1' contains "8/10/2004" a...more >>

MS Access d/b saved parameter query problem
Posted by Larry Rekow at 8/3/2004 11:27:12 AM
Trying to convert a page that adds records to a table. Have successfully done it (to a point) using the "saved parameter query". At first it didn't work, kept getting a "page not found" when submitting the new data, so i went back and started revising the query and the asp page to add one par...more >>

DB Access Component
Posted by Syed Khan at 8/3/2004 6:45:03 AM
Hi, Can i have the Connection object being passed as the parameter from the Component(Dll) i am using to connect to the databaese to the ASP page. Thanks. Syed Khan...more >>

Ordering by date ???
Posted by TomT at 8/2/2004 8:32:55 PM
I have created a DB in Access 2000. The Date Field (clientdate) is currently a MEMO field. The date is being entered as: 10 June 2004 21 January 2005 09 September 2004 How would I display this in Date order ? I have tried changing the field type to Date/Time, and setting it to long ...more >>

Exception error with date/time (Access 2000)
Posted by jason NO[at]SPAM catamaranco.com at 8/2/2004 8:03:02 PM
I am picking up a strange exception error for the following statement: If Rs.EOF OR DATEDIFF("d",rs("DateTime"),NOW()) Then '// End If Is there something wrong with my function ...more >>

DELETE table and reset AutoNumber
Posted by McKirahan at 8/2/2004 7:15:03 PM
I'm using MS-Access and was wondering if there's a way to DELETE a table and reset the primary key which is an AutoNumber field. If I do "DELETE FROM table_name" then all the rows are removed but the AutoNumber isn't initialized; thus, the next the AutoNumber field after the next INSERT is not...more >>

Error Type: ADODB.Command (0x800A0BB9)???
Posted by Brad at 8/2/2004 9:39:17 AM
Dear friends, I am working on a App. at my work place, now wanting to set it up at home but for some reason I keep getting this error : ADODB.Command I did some research on the NEt but I am still unable to figure out why I cannot connect to my db. My code: I set up a Vi...more >>

Irregular read-only errors
Posted by kaldvelski NO[at]SPAM yahoo.co.uk at 8/2/2004 9:04:46 AM
I'm getting the infamous "Cannot update. Database or object is read-only" error, however I'm very unsure as to what could be causing it. My best guess is the db seems to becoming locked for a shortwhile as the problem seems to rectify itself after a while. If I wasn't using access I'd guess i...more >>

Move data from Excel to SQL Server via ASP
Posted by midwesthills NO[at]SPAM hotmail.com at 8/2/2004 6:48:56 AM
I'm trying to import data from an Excel spreadsheet, and write it into a SQL Server database. I know how to read the data from Excel and how to write the data to SQL Server. The part I'm struggling with is moving the data from Excel to the DB. I'd like to just open a recordset from Excel, the...more >>

Printing
Posted by Sue at 8/2/2004 6:30:53 AM
Hi, I have a command button to print the web page. However, not everything on the page is printed. For an example, my data are organized into tables and that table is big so not everything on the right side gets printed. Is there a way to shrink everything so that everything can be p...more >>

Connection string
Posted by John Berman at 8/1/2004 9:46:19 PM
Hi Sorry if I'm off topic but I am a touch desperate We make use of a mysql 4.x hosted by a third party and we use ASP to access this data Our Connection string looks like this: xDb_Conn_Str="DRIVER=org.gjt.mm.mysql.Driver;URL={jdbc:mysql://xxxxxxx/xxxxx xx};uid=xxxxxxx;pwd=xxxxxxxxxx;...more >>

scheduled update of database
Posted by vasanth kumar at 8/1/2004 8:55:02 PM
Hi, I am using MS Access as database. I need to update the table on the 1st day of every quarter. Is there anyway to achieve ASP or MSAccess. or should I have to make my script as a scheduled job of my OS Regards, Vasanth ...more >>

ADSI - ASP Assistance Required.
Posted by Enigma Webmaster at 8/1/2004 7:35:12 PM
Hi All, We've written a couple of functions which, when run in VB6 work fine and allow AD users to be updated. When we include the code into an ASP Page and try and update a users information (i.e. Mobile Phone Number) we get a failure as below... Error Number:- -2147467259 Automation erro...more >>

SELECT and INSERT
Posted by McKirahan at 8/1/2004 4:21:58 PM
Is there a way to do the SELECT and INSERT in a single SQL statement in MS-Access? ...more >>

ASP w/Access and transfer to SQL
Posted by alejandro at 8/1/2004 1:43:07 PM
I have a application in ASP w/ access db and is the time to transfer all data to a SQL dbs what I have to change in the code to work with SQL and how can I pass the data to SQL Would somebody here give me a guide or steps to start, give me a help or link thank you ...more >>


DevelopmentNow Blog