all groups > inetserver asp db > november 2003
Filter by week: 1 2 3 4 5
Listing all number between 2 points
Posted by Oli at 11/30/2003 6:03:34 PM
Hi
I have 2 textboxes - from & to.
Assume I enter number 1 in "from" and "10" in to - I want the ASP to return
: 1,2,3,4,5,6,7,8,9,10 and insert this into access database over 10 rows
into the 'number' field.
Anyone got any ideas how to do this?
TIA
Oli
... more >>
SQL is showing all records
Posted by Jon at 11/29/2003 5:33:04 PM
Hi, I'm using:
SearchString = request.Form("SearchString") 'works fine
TodaysDate = Date() 'gives todays date correclt formatted
strsql = "SELECT * FROM tblListOwners WHERE (((listOwner1) Like '%" &
SearchString & "%') AND ((listCloseDate)>=" & TodaysDate & ")) OR
(((listOwner2) Like '%" ... more >>
Operation must use an updateable query Error
Posted by Ray P. at 11/29/2003 6:16:02 AM
Group,
On a W2K3 / IIS 6.0 Server, we have a Web Site reading
an .mdb fine. When it tries to save, it generates the
following error:
Microsoft OLE DB Provider for ODBC Drivers
error '80004005'
[Microsoft][ODBC Microsoft Access Driver] Operation must
use an updateable query.
/w... more >>
creating a domain search page in asp
Posted by shine at 11/29/2003 1:10:04 AM
Hai ,
I am shine from India, a web programmer. I want to know
about how to create a domain search page using ASP.
Any suggestions would be greatly appreciated.
Thanx in advance
regards
shine... more >>
Cannot display chinese characters on web page
Posted by ted at 11/27/2003 10:53:29 PM
I have migrated all the data from MS Access 97 to MS
Access 2000. For unknown reason, my ASP prgram can't
retrieve any chinese characters on the web page . It
only shows "?". What's wrong? It used to work fine.
Please advise and many thanks ... more >>
How to INSERT XML data into Oracle database
Posted by news.online.no at 11/27/2003 7:37:43 PM
Hi,
Working on a solution where we are using XML as a means to export and import
various
data. Are Using ADO to save to (export ) XML using adPersistXML and then
XSL to convert to an element-based XML.
Is there an easy way to INSERT data from an element-based XML into ONE
database-t... more >>
SP with Select statement
Posted by Gerald at 11/27/2003 12:37:37 PM
Hi,
I'm trying to select fileds that are in the results of a SP.
So I have the table "tblItem"
itemID int Identity Key,
itemName varchar (100),
itemDate smalldatetime
I have a SP "p_getItemID"
which is lets say
SELECT TOP 10 itemID FROM tblItem
Now what I want to do is:
SELEC... more >>
How to get Table Parameters to copy table
Posted by jbassil NO[at]SPAM cs.dal.ca at 11/27/2003 6:13:07 AM
Hey all,
I'm trying to do the following in ASP :
- Determine the parameters(field names and data types) of a
table .
- Create a new table with these same parameters.
- Insert all data from first table into copied table.
Any suggestions as to what a reliabl... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
odbc error message
Posted by scott_mcarthur2003 NO[at]SPAM yahoo.co.uk at 11/27/2003 4:57:17 AM
I am getting the error message below in the event log for a windows
2003/sql server 2000 web and database server, any ideas? I seem to be
experiencing problems with asp pages connecting to sql server.
The data buffer created for the "ODBC" service in the
"C:\WINDOWS\system32\ODBC32.DLL" librar... more >>
Code Problem
Posted by Shimon at 11/27/2003 4:41:02 AM
I can't figure out why this code segment will not print
line 4 if the condition is true.
1 <%If NOT IsNull(rs_shiurim("Tuesday")) Then %>
2 <tr>
3 <td width="13%"><strong>Tuesday</strong></td>
4 <td width="87%"><%=rs_shiurim("Tuesday")%></td>
5 </tr>
6 <% End If %>
Line 2, 3 an... more >>
Relationship in MS Access
Posted by rick at 11/27/2003 12:41:01 AM
In MS Access, there is an interface to draw the
relationsip between tables. Do I really have to draw the
relationship to obtain databse data? Thanks in advance
... more >>
Weird! Problem of query the date for January and October
Posted by rudolf at 11/27/2003 12:21:11 AM
It's weird! I am writing an asp code to retireving data
from the MS access. Any records before today will not be
populated. It works fine except that I could not get any
result for the month of January 2004 and October 2004 at
all. What's wrong. please asvise. Many thanks!
Dim get... more >>
ASP to DB2 database?
Posted by Bill at 11/26/2003 5:16:31 PM
I am confused. I need to access data on a mainfram IBM DB2
database. Is it as simple as setting up a ODBC DB2 driver.
Or does a data conversion need to take place?... more >>
Problem with SQL statement
Posted by Porky at 11/26/2003 3:30:46 PM
Running ASP pages that query a SQL2k box. I have this SQL statement
that works when I plug it into Query Analyzer, but it does not work when
I have it in ASP page.
Dim noodle
Set noodle="SELECT Customers.[Company Name], Customers.State,
Schedule.PurchaseType, Schedule.[Equipment Amount] ... more >>
ArithAbort ?
Posted by only_me at 11/26/2003 11:26:55 AM
I've recently upgraded the server to latest SQL 2000.
Started getting a lot of errors "UPDATE failed because the following SET
options have incorrect settings: 'ARITHABORT'. "
Checked the MSKB, which said we needed to add the following once we opened
the connection
conn.Execute "SET ARITHAB... more >>
Dynamic Menu
Posted by Shero at 11/26/2003 1:20:54 AM
Dear All,
How could I make a menu have many sub-menus, note that the
menu and sub-menus items come from database.
Ex: a menu have items like:
Products | Auctions | Orders
the menu items above all come from a table in a DataBase,
and if On Mouse Over or On Click events happens for an... more >>
Can I open a database connection in my GLOBAL.ASA file?
Posted by michaaal at 11/26/2003 12:55:38 AM
Can I use my GLOBAL.ASA file to open a database connection before each page
loads? Would someone mind posting a very simple example? I tried to make
it work but couldn't. Thanks!
... more >>
How do I set-up ASP with an MS-Access database?
Posted by Marlon Velasco at 11/25/2003 7:49:38 PM
I Currently have an asp website created manually (not using frontpage)with
an access db. The way it works now the iusr- account needs read/write
access to the database or else the pages display errors. I don't want to
leave these permissions because they pose a great security risk and also the
... more >>
Stored Procs
Posted by NO[at]SPAM HOTMAIL DOT COM at 11/25/2003 4:08:29 PM
What are the different ways to fire stored procedures in a SQL 2000
server? Which is better? I have seen simply:
set rs = conn.execute("sproc")
and I have also seen massive command.parameter ... bla bla ...
... more >>
ÎÒÈçºÎʹÓÃADO·ÃÎÊSQL SERVER µÄTEXTÀàÐÍ
Posted by һƥÀÇ at 11/25/2003 12:16:44 PM
ÈçÌ⣺
SQL SERVERµÄTEXTÀàÐÍÊÇMEMOµÄ£¬ÎÒʹÓÃÏÂÃæµÄÓï¾ä³ö´í£¬¸÷λ°ï¸ö棿
<%=rs1.fields("memo").value%>
... more >>
Sql server update via asp with access db on remote machine
Posted by Eddy Princen at 11/25/2003 11:31:36 AM
Hello, can anyone give me some hints about updating a sql server database
with MsAccess database info on a remote desktop machine,
the idea is to write an access application to gather some data and then
update the sql server via asp-scripts on a webserver with sql behind it.
I've already worke... more >>
Fail to query from Access DB
Posted by Shay Tavor at 11/24/2003 11:12:37 PM
Hi,
I'm trying to write a simple ASP page which retrieve data
from an Access DB. However, the recordset.open method
always fails, and I can't get anything, even though the
connection is open.
Any advises?
Shay... more >>
Problem with refresh after delegate event fires. c# and asp.net.
Posted by George K at 11/24/2003 10:23:30 PM
Hi, i have a very irriting problem that i have written a short piece of code
to demonstrate. The problem is that my aspx page is not fully refreshed
after an event, which is delegated to an ImageButton during runtime, is
fired. Any suggestions would be great. This code is the c# behind a webfor... more >>
Preferred method of doing an update within Asp using Access
Posted by Terry Murray at 11/24/2003 9:53:41 PM
I was wondering what is the best method of accomplishing an update within
Asp using Access? I was going to going to use the update method of an ado
recordset, but I thought I would ask in case there is a more efficient way
to do it.
Thanks
Terry
... more >>
problem displaying MEMO field from ACCESS 2000 on WINDOWS 20003
Posted by euang at 11/24/2003 3:17:46 PM
Hi,
I have been using access 2000 for two years on WINDOWS NT to display dynamic
aweb page using ASP
My ISP has now changed to Windows 2003, and I am having major problems
displaying information from MEMO fields within the Access 2000 database. I
have not had any problems before displaying... more >>
asp/sql server memory leak
Posted by scott_mcarthur2003 NO[at]SPAM yahoo.co.uk at 11/24/2003 1:47:33 AM
We are running asp (not asp.net) and vb com dll web sites on a machine
which also has sql server 2000 sp3a running and uses Windows Server
2003. We recently migrated from Windows 2000 (same database) where we
had no problems. However on the new machine, despite much being much
more powerful and ... more >>
Syntax Problem
Posted by Lee Mundie at 11/22/2003 1:38:13 PM
Hi,
Im trying to get his SQl to work but run thru a query analiser tells me
there is a syntax error and in the browser returns no results - any ideas?
SELECT m.Username, m.Author_ID, au.Author_ID AS ActiveUserAuthorID
FROM tblBuddyList bl INNER JOIN Members m ON bl.Buddy_ID = m.Author_ID
... more >>
ASP.net Coder Wanted
Posted by Mark Halverson at 11/22/2003 2:55:05 AM
I need someone to code some ASP pages for me.
Don't have much money...but have lots of great ideas - willing to share
profits and a little up front.
I have a website on godaddy.com which offers ASP.net/PHP and 10 mySQL
databases for a pretty good price.
I need data from a form to be poste... more >>
2 into 1 SQL?
Posted by Lee Mundie at 11/22/2003 2:05:58 AM
Hi,
Wondering if somebody can help me join these two statements to one!
The first looks at a tblMembers with tblBuddyList and matches the data by
Members.Author_ID and tblBuddyList.Buddy_ID etc.
really looking to get all the info in one; ultimately I want to check that
the tblBuddyList.Budd... more >>
Operation is not allowed when the object is closed.
Posted by jorizramos NO[at]SPAM hotmail.com at 11/21/2003 7:12:22 PM
i have this stored procedure...
CREATE PROCEDURE p_sale_tax @locid INTEGER, @sdate VARCHAR(10), @edate
VARCHAR(10) AS
SET NOCOUNT ON
SET @sdate = CONVERT(DATETIME, @sdate)
SET @edate = CONVERT(DATETIME, @edate)
SELECT masterheader.transactno,
SUM(masterdetail.tax) as tax, sum(master... more >>
ASP pages not rendering
Posted by Alan Easton at 11/21/2003 6:39:50 PM
Hello People,
I have a strange problem, one has been asked a few times
on the ASP general list.
But my SQL DB hosts say the problem is an Open Connection
problem. What happens is this, I have a complete ASP site
driven by a MS SQL DB, but every so often, ASP Pages stop
responding, no t... more >>
Help with temp database creation
Posted by Thunder at 11/21/2003 4:07:25 PM
Hi,
I'm building an ecommerce website. When a user logs into my site, I want to
create a temporary table (say called 'ShoppingCart') in my database. I'm
currently using MS Access, but may use SQL in the future. Since I cannot
create a temporary table in Access, I want to create the table and ... more >>
Problem with insert dates in SQL
Posted by Oswaldo at 11/21/2003 1:23:58 PM
Hi, I have a table with a camp "Fecha" (it is datetime).I
insert a date in this format: dd/mm/yy (for example
01/11/2003) but in the table the insert value is 1/1/1900.
I insert the value using ASP code. What is the problem?
Thanks and regards. ... more >>
Database with e-mail addresses
Posted by Mike at 11/21/2003 9:57:35 AM
I hope this is the right ng for this....If not, I'm sorry....
I have an ASP driven web site that has many forms that update to an Access
dbase. One of the tables in that dbase contains an email address field. I
need to have those e-mail addresses usable for both sending individual
e-mails as ... more >>
executing SQL query using ASP?
Posted by Jerome at 11/21/2003 9:29:55 AM
Hi,
I've got the following problem and I don't know how to make this (if
it's possible at all):
I want to make a form where the user can enter a criteria and then,
after pushing a button or link, a certain table in a certain DB is
updated. So it's not about updating a single record, but ... more >>
Help! Dependent Lists with SQL Server (with code/db setup) assistance needed!
Posted by n4th4n NO[at]SPAM hushmail.com at 11/21/2003 6:56:51 AM
Hey folks, i'm _trying_ to get a dependent list box example working
from this example/tutorial found at
http://www.asp101.com/resources/DependentLists.asp. The tutorial
originally had an access DB, but i've since changed that to sql server
(maybe thats the problem!?)
Well, i've run into plent... more >>
Configuring ODBC Data Source
Posted by RunneR at 11/20/2003 11:43:28 PM
Hi,
Does anybody knows, how can I configure (add or change) ODBC Data Source
programmaticaly from ASP (or ASP.NET)?
Thanx
... more >>
got me stumped
Posted by Jeff Clark at 11/20/2003 9:50:16 PM
Hi. How ya doing?
You guys are great.
I am stumped.
You know when you right-click on an image or other file, you get the
properties sheet. Then you take the Summary tab. How do I read the Summary
tab with ASP or Vb?
Thanks so much!
Jeff Clark
... more >>
SQL connection issue
Posted by J P Singh at 11/20/2003 4:42:16 PM
The following code works when I connect to one of my sql server databases
but doesnot work on the other one. The database that this code works is a
SQL Server 7.0 and the one on which it doesnot work is SQL Server 6 or 6.5
I get the following error. Can anyone help me please?
Select TOP 5 TA... more >>
SQL Server connection over the WAN
Posted by J P Singh at 11/20/2003 2:57:54 PM
Hi All
We have a search page for one of our applications which connects to a SQL
Server database in SYDNEY. The IIS server on which the ASP page resides is
based in LONDON.
The performance of the search page is not great. It does work but takes
about 25 secs to display the results.
Can a... more >>
unclosed connections problem
Posted by scott_mcarthur2003 NO[at]SPAM yahoo.co.uk at 11/20/2003 9:50:00 AM
We have just migrated from a windows 2000 server running classic
asp/sql server web sites without the .net framework installed to
windows 2003. Despite having the same traffic levels sql server on the
new machine seems to be using up much more RAM than before. I suspect
that their may be unclo... more >>
Code problem
Posted by Shimon at 11/20/2003 12:50:14 AM
Does anyone know what the problem with this code is:
<% If NOT(rs_shiurim("Daily") = "") Then %>
<tr>
<td width="13%"><strong>DAILY</strong></td>
<td width="87%"><%=rs_shiurim("Daily")%></td>
</tr>
It only prints "DAILY" when the string is NOT ""
Thanks
Shimon
... more >>
ASP Problem - will not update
Posted by Oli at 11/19/2003 11:58:10 PM
Hi, Hope someone can help. The ASP below correctly gets the data out of
the Access DB but when I click update it does not. Anything obviously
wrong? TIA, Oli
------------------
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<!--#include file="../Connections/users.asp" -->
<%
' *** Edit Oper... more >>
Error : oRS not defined
Posted by DS at 11/19/2003 8:25:25 PM
<INPUT TYPE=BUTTON NAME=cmdUpdate onclick="oRS.udpatebatch
()" Value="Update Records">
Any wrongs in this script?
DS... more >>
How did they do that?
Posted by Terry Murray at 11/19/2003 12:59:56 PM
I just went to an online coupon site (entertainment.com) and noticed that if
I print out a coupon the server is aware of it because a page on the site
lets you know if you are allowed to print out anymore of the same coupon and
if so how many. I have already been informed by someone seeing a pr... more >>
80040e14 Error Message
Posted by Joe Goeke at 11/19/2003 10:49:04 AM
I have an ASP site running in IIS 5.0 using ASP 3.0. I am making a SQL call
to a DB2 database on our AS-400. The site has been running fine for 6
months and suddenly I'm getting sporadic 80040e14 errors in the log files.
The log file message is as follows:
2003-11-19 16:32:17 12.35.121.12 - ... more >>
SQL Query Help
Posted by J P Singh at 11/19/2003 9:32:45 AM
Hi
I am simple problem please help.
I want to write a simple query to search for particular occurance of the
string in any part of the field.
The fieldname is TapeNum and I wish to display all rows where tapenum has
the characters 'ASP'
I wrote the following query
select tapenum fro... more >>
SQL Server Problem
Posted by Tim M at 11/19/2003 3:26:37 AM
Hi
Using ADO, when I run the 'sp_columns' strored procedure
for a particular table in my database it returns all
information correctly. However, when I try to run a
query on the same table (or any table for that matter) I
get an error saying the table doesn't exist in the
database.
... more >>
Global.asa
Posted by Terry Murray at 11/18/2003 3:44:23 PM
Hi everybody:
I have a seen a few sites that seem to know my name once I have left their
site and returned without me logging in. I have a feeling that this feature
can be implemented with Application variables within a Global.asa file. But
I am not sure how to go about doing it. Can anyone ... more >>
Header Detail Example
Posted by Frank Py at 11/18/2003 11:40:47 AM
I want to relate 2 tables in Access or SQL for a one to many. I would
like to find an example in .Net for data entry for this structure. For
example, I would like customer info at the top of the page and customer
history at the bottom. Maybe the details section can be in a editable
grid control ... more >>
|