all groups > inetserver asp db > july 2003 > threads for july 8 - 14, 2003
Filter by week: 1 2 3 4 5
asp get Table Column ( Show Active Users Names Logged On )
Posted by Wayne & Carr at 7/14/2003 10:53:31 PM
Hello;
I know how to get a "Database Table" with ASP.
But what I am trying to get is the Table Column.
This is what I am needing. ( Could someone please point me to some
information on how to accomplish this please? )
I need to show the Current Users name's that are logged on.?
I h... more >>
debug problem in Windows XP MC edition
Posted by keith at 7/14/2003 3:32:24 PM
I recently installed Windows XP Media Center edition
included built in IIS5.1, VS6.0 with SP5, VS.NET 2003
into my computer.
I loaded a Visual InterDev 6.0 project and set break
proint. When running it, never stoped at the break points.
I tried anoher way by menu Debug and Step Into. It ... more >>
Getting the ID of an element to check existence and pass variables.
Posted by renie83 NO[at]SPAM lycos.com at 7/14/2003 3:12:42 PM
Thanks for the tips Ray!
Okay I think I can explain better now.
What my asp page displays are some records from a database table and a
text box after each record where a user can enter a date. I would like
to be able to check if a date is entered and if so, send that line of
information to a ne... more >>
HELP! Passing from database to asp page allowing user input then passing to another database.
Posted by renie83 NO[at]SPAM lycos.com at 7/14/2003 12:16:46 PM
My big problem is I'm a newbie working with someone else's code.(See
code below) What I want to do is for the records that have a purchase
order number I want a text box at the end of the line of information
that a user may or may not place a date into. (You'll notice that
there are two sets bei... more >>
Access denied errors
Posted by Andrew at 7/14/2003 9:41:59 AM
I have been getting some rather confusing access errors when trying to use
an asp page to access my Access database. I have all the security settings
on the db directory allowed so that is not the problem I am having. I had
also gotten similar errors when I was trygin to access the db while it ... more >>
Database permissions
Posted by Trumpet at 7/14/2003 9:40:13 AM
Can anyone tell me the appropriate permissions to set on a
database file so that the web user can read and write, but
the file does not try to download if you type in the path
to the file.
Thanks a lot!... more >>
Placement
Posted by Tim Midgett at 7/14/2003 9:17:50 AM
Hi I am using the following page to display my data when it is entered
into an access database. It is working great the only problem is now
that I have the <table> in there it adds the new record in the middle of
the table not on the end.(only in display, It is at the end of the
access database)... more >>
SQL Assistance - won't select where field is blank.
Posted by Matt Smith at 7/11/2003 2:49:18 PM
I'm selecting fields from my main table (ProductData). Each record in that
table has a SupplierIndex.
There is a field called SubCategory, which looks up from
tblSubCatList.iSubCatID but which is not necessarily populated.
My SQL statement is as follows:
SELECT ProductData.DacNumber, Produc... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
where will code run
Posted by bbxrider at 7/11/2003 1:51:39 PM
for running asp code at the server i use the
<script language="vbscript" runat="server">
so after that, for database access do you need to specify additionally
set rs = server.createobject("adodb.recordset")
or can you just use
set rs = createobject("adodb.recordset")
does it matter??
i a... more >>
Serial Numbers
Posted by Steve G at 7/11/2003 10:24:37 AM
Hi All:
I am trying to populate a database field that consists of incremented
(serial) numbers. This is the code I am trying to get to work:
objRs.AddNew
for i = 49999 to 50999
n2 = i + 1
response.write "n2=" & n2 & "<br>"
next
for n = 0 to 1000
objRs("bcksNo") = n2
next
objR... more >>
SQL Syntax Error
Posted by Frank Py at 7/11/2003 9:47:49 AM
Having some problems with my SQL statement syntax:
Microsoft JET Database Engine (0x80040E14)
Syntax error (missing operator) in query expression
'MealsExCode=0000104Amount=23.56'.
Can anyone tell me what I might be doing wrong. Help apprecaited.
Thanks:
SQLstmt = "UPDATE Expense SET "
... more >>
Internal Server Error
Posted by Rich R at 7/11/2003 9:40:30 AM
I have just brought up a web site using an MDB file on a
Win 2003 system and I am getting the message:
HTTP 500 - Internal server error
Internet Explorer
I know it's the access data base giving me the problem as
I will wait a while and then try the page again and the
information displays... more >>
AspAllowOutOfProcComponents - How to solve this issue?
Posted by Todd Simpson at 7/11/2003 9:09:29 AM
I am testing ASP application (VBScript) on a Windows 98SE system
with PWS.
I used to be able to run the application - which requires connection
to a database - but now I am getting this error:
==============================================================
Server object error 'ASP 0196 : 800... more >>
Var's lost on refresh - help
Posted by Matt at 7/11/2003 7:29:08 AM
I have pg1 sending 6 vars to page2.
Page2 uses the 6 vars to pull from an access database the
fields of a specific tbl. under the sql stmt a function
displays the records with headers, which will be sortable
and pgable.
Problem is this. - The initial load is fine with sortable
hdrs a... more >>
Return Search Results on the Same Page
Posted by shell at 7/10/2003 10:36:06 PM
I am new to ASP and would like to write a page with a drop
down listbox on the top of the page. As soon as user
choose a value in the dropdown, the resulting records
based on the chosen value will display below the dropdown.
How do I do this without reloading a new page with the
results ... more >>
Serious Problem - Lost Session Variables
Posted by frank at 7/10/2003 8:58:14 PM
Please help.....!
I have built a site that works/worked absolutely fine on my test server.
When I transferred it to a remote web host (the intended permanent home of
the site) something very worrying keeps happening to my site.
I use, as is the norm, session variables to store login informat... more >>
Help with SQL Query
Posted by Colin Butler at 7/10/2003 3:57:24 PM
I've built a table where each record relates to a meeting. Meetings may be
independent or may be linked indicating that they occur sequentially. I have
a field in the record which allows me to record the record number of the
meeting the current record follows, if the meetings are linked. I want t... more >>
sql SORT order not working on numbers?
Posted by Alpay Eno at 7/10/2003 3:23:24 PM
Hello all... I'm using asp to get records from an access database, very
similar to the way datagrid would work. The title of each column in my table
is a link that alternates the sort order between ascending and descending...
my problem is that text WILL change its sort order just fine but nube... more >>
Missing Operator Error in Access
Posted by CJM at 7/10/2003 11:42:52 AM
I'm trying to install a freebie app downloaded from the web.
Its based on an Access Db, and I'm getting the a missing operator error for
the following SQL:
SELECT COUNT(DatabaseUsers.database_id) As Total FROM Users INNER JOIN
DatabaseUsers ON Users.username = DatabaseUsers.user_id INNER JOI... more >>
Perfect IIS Server setup for ASP applications
Posted by MyaTix at 7/10/2003 12:07:56 AM
Hi,
I am in the middle of setting up a new IIS Server to run
our intranet on and was wondering if all you gurus out
there had an idea of the perfect IIS setup and the things
that should be installed on it!
Especially when it comes to security, and functionality...
Has anyone had any b... more >>
ANSI Standard date
Posted by Dave at 7/9/2003 10:26:43 PM
Hi,
Could somebody please tell me, or point me to an article, that shows me how
to pick up an ANSI standard date directly from
asp (VB Script) code.
The now() function seems to pick up the date with the default settings of
the server.
ie if the date format is dd/mm/yyyy it will pick up 090... more >>
Date comparison :: Original price vs Reduced price :: Access 2000/ASP
Posted by jason at 7/9/2003 5:00:18 PM
I need some guidance in how to control dates with regards price reductions
in my product list inside an Access 2000 database.
For instance:
1. I will start off with an ORIGINAL PRICE where I must record the data
capturers INSERTION date
2. At some point there may be a REDUCTION IN PRICE. ... more >>
Encrypted connection to remote SQL SERVER
Posted by martin de vroom at 7/9/2003 3:37:03 PM
Hi,
I am having trouble making an encryped connection to an sql server over
the internet, and would really appreciate some help. I have tried to include
as much info as possible without making this post too long.
I am trying to connect to an SQL SERVER (ent edition on Win2k Server)
Bo... more >>
Inserting thousand of row (timeout?)
Posted by Your Name Here at 7/9/2003 3:15:05 PM
I'm importing thousands of rows into a sql server table using ASP on a
hosted machine.. I've got Server.ScriptTimeout set to 150000.
For some reason it quits at a 1000 rows or so.. is it possible that my web
host has set a script timeout on the server side that is overriding my
script settings... more >>
asp insert error
Posted by TT at 7/9/2003 1:58:11 PM
hi,
I made a asp form (in mm dreamweaver) to insert product in a db.
on my localhost everything works just fine.
But online i got the :
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable
query.
the line... more >>
editing record in access database
Posted by Tim Midgett at 7/9/2003 1:45:03 PM
I am trying to pull a record into a form and then edit it. (not working to well)
Hoping someone can show me a better way than this:
<%
option Explicit
Dim adoCon
Dim rsedit
Dim strSQL
Dim lngRecordNo
lngRecordNo = CLng(Request.QueryString("ID"))
Set adoCon = ... more >>
SQL2000 recordset returns 'undefined' intermittently
Posted by clegg at 7/8/2003 8:28:53 PM
I am connecting to an SQL 2000 database with OLE. My
connection is fine and records are returned, but certain
field names seem to cause empty or undefined records to
return. If I then move the recordset request that returned
undefined to a different position, it will return a value,
... more >>
ASP error
Posted by Frank Py at 7/8/2003 3:57:48 PM
I'm trying to connect with an Access database with this snip from a
sample application originally designed for SQL Server. There is an
include file for the ADO connection statements. Can anyone tell me why I
might be getting this error? Help appreciated. Thanks. Frank
Error Type:
ADODB.Record... more >>
Open an MS Access Linked Table via ASP
Posted by Jason Whitaker at 7/8/2003 3:23:27 PM
I have a MS Access database. Within this database, I have
several linked tables that connect to a mainframe's
database. The linked tables use a DSN to connect to the
mainframe. I want to open the Access database and query
the linked tables from an ASP page. However, the DSN that
the li... more >>
LIKE, REGEX
Posted by Patrice FRITSCH at 7/8/2003 2:02:11 PM
Hi,
Using the following records :
PF03001
PF03002
PF03003
PF03004
PFR03001
PFR03002
PFR03003
PFR03004
How can I extract only the PF records (and not the PFR ones) using the LIKE
statement ?
My first idea was to search for PF and verify that the following char is a
numeric one :
"se... more >>
SQL Server/IIS login problems
Posted by heavier NO[at]SPAM hotmail.com at 7/8/2003 1:48:43 PM
I have written a simple web app that connects to a local instance of
SQL Server to run queries. The virtual directory in IIS is "myapp",
and there is a default.asp file in there. In myapp properties/
directory security/ authentication, I have disabled "basic
authentication" and "integrated windo... more >>
error message
Posted by Tim Midgett at 7/8/2003 10:28:52 AM
Hello I am getting the following error message: Microsoft VBScript runtime (0x800A01A8)
Object required: ''''
/delete_entry.asp, line 17
When I try to delete a record. The following is the code to the delete_entry.asp page.
<%
Dim adoCon
Dim rsDeleteEntry
Dim strSQL
Dim IngRecordNo
IngR... more >>
Timeout -- [DBNETLIB][ConnectionOpen (Connect()).]SQL Server d
Posted by M.Schmucki at 7/8/2003 12:42:51 AM
We are experiencing errors like the following
approximately 50 times per day appearing in our logs.
[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not
exist or access denied
We are currently running Windows 2000 Server SP3+, SQL 2K
SP3, MDAC 2.71, .NET Framework 1.0 SP2. We run the... more >>
|