Fast Retrieval Of Data
If a sql query returns 20000 records then what is the fastest way to display records on a web page.
View RepliesIf a sql query returns 20000 records then what is the fastest way to display records on a web page.
View RepliesAlready have an asp page showing results from an access database table (supplies)
Need to know way select items from this list w/o the need of retyping to another form.
Also would like to be able to insert order_date automatically to another access table (orders).
First time user, and in so much need of urgent assistance if poss.
Senario:
I have a list of Apartment Id set in an array being pulled out thus (as an example)
1,3,50,12,21
Now, I need to SELECT from my SQL excluding these Id's. Its doing my lid in !!
Cheers Dudes
I stated to someone in a different post, perhaps different NG, that since I
have 3rd party cookies blocked in IE and after a recent windows security
update, ads with 3rd party cookies do not load the page. Code:
Say I have a few functions for accessing a database e.g. openDBConn, closeDBConn, openRs, closeRs, getRsAsArray, executeSql, getDbConnString etc
I could put these functions in to an include file "incDbHelper.asp" and include the file in any page that needs database functionality... or I could create a class "clsDbhelper.asp" which again I would include in any page that needs it. Now once the files have been included, to access the functions I could do: Code:
I am planning to build a basic page that brings up images from a Database based on keywords.
View Replies View Relatedi now have my dropdown connected to my database. everytime the user adds a new record, he simply has to choose a Department from the dropdown menu. However, when he tries to edit that record, the value that he has chosen from the dropdown and has been saved to the database cannot be retrieved in the dropdown menu.
so i want to retrieve the data from the database INTO THE DROPDOWN so it would be the default value of that dropdown menu when the user edits his specific record.
I have an sql statement like this executed with asp and mysql.
select * from table1, table2, table3
How can I read a specific field from a table when tables have same fieldnames.
So for example table1 and table2 have both a field named content.
What I would like to do is:
contenttable1 = recordset("table1.content")
contenttable2 = recordset("table2.content")
But then I get an error like item not found in recordset.
If i do this it works but i don't know which field I read from:
contenttable? = recordset("content")
I know that it works with Access but I can't get it working with MySQL.
Ive got a tool that is taking sugestions and updates from users and then generating a unique id based on the date and ID Autonumber field from an access db. I am using the addnew method b/c it is the way i know to immediately retrieve the id.. The problem is im trying to add the id back into the record on the same call. Is this possible?
My code is as follows but i seem to be getting duplicate records with unique id's.. But the thing that seems strange to me is that both records have their own unique id. If this were the case i would think that the first record would not have the unique id b/c it is not generated until after the first update call? Code:
Im trying to do a simple password retrieval script that displays a users password on screen.
Im being told their is a syntax error:
Syntax error
/Kosy/password.asp, line 30, column 7
.write & strEmail
Code:
I have a web page with three fields, Name and designation, salary. The name field is a <select> tag which contains all the names present in a tabe. When I select a name, the corresponding designation should be displayed. Then I enter salary and submit the form. There are two submts involved?
View Replies View RelatedA problem recently cropped up that I have not seen before and I am wondering anyone has seen this one?
The 2 SQl Select statements on my ASP page differ by the addition of one column ("Description") but in the 2nd case, column content is dropped (blank). I can get somewhat different results by adding other columns to the Select. Code:
I'm using DW MX 2004 to build an asp based eStore. I have a checkout page created with both the billing and shipping information in the same form. I'd like to add some code and a button to activate it to copy the code to the shipping info (but it can't submit form). Also the State choice is a drop down list based on a recordset. There are other behaviors attached.
View Replies View RelatedWe are running into problems with the script below, whose purpose is to allow users to choose values from drop downs populated by an MS Access DB.
THE RESULTS:
(returns a blank page with only HTML Titles)
THE SCRIPT:
(you may notice this is a modified sample script): Code:
Dreamweaver created code to update to data base. But when testing on website i get the following message. I have no clue what it might be.
Microsoft JET Database Engine error '80040e14'
Syntax error in UPDATE statement.
/admin/update.asp, line 111
line 11 is strName.execute
I read it might be forbiden characters in the data base field names or spaces...
but i don't have that. the names are userName, userLevel, ID, Password.
This seems a very complicated task, so I welcome any
input. My boss wants a data grid or matrix of the top 6
orders with ordered items, and products, for a particular
customer and he wants to see it like this:
products down the left side
orders across the top
number of items under the respective order number column
across from the corresponding product.
I hope that makes sense.
I have three tables. Products, Orders, Orderitems. I
don't even know where to start. Many thanks in advance
for any input offered.
how do i get data from a user on one page and display the result on the other page
actually i have written a prgoram that displays a set of checkboxes and based on the checkboxes selected the related data is displayed .but the problem is the data is displayed on the same page below the list of check boxes. Code:
I have a form that has the option to upload a file at the bottom. If you select a file it works fine but if you leave file selection blank the forms bombs. This is not how I want it to work. On the form you need to use ENCTYPE="multipart/form-data" in the form tag.
On the processing page I need to use Set to assign a variable to the form data. I tried using IF on the variable assigned to the file path but it bombs out telling me "This function is not supported". Is there any other way I can check to see if curQes has a value assigned to it?
how to call a csv file into a data array. I was told I can use :
csvArr = split(csvLine, ",")
So long as I have no embedded commas in any field. what Im not clear on is the syntax.
how do I call the csv into the script (so the script knows to use the csv)
I only want to input the following information if it is not a zero length string. Any
ideas on how to do it?
Crate&Barrel = Request.Form("Crate&Barrel")
Crate&Barreladdress = Request.Form("Crate&Barreladdress")
How can I display data from an XML file in ASP?I want to use an XML file instead of an Access or SQL database and would like to display this information the same as I would if I were using Access or SQL as the datasource.
View Replies View RelatedCan You Grab Data From Multiple Recordsets?I want to build a search page, but I have data in about 6 databases.
View Replies View Relatedhow to add new data. i need to add new data after display the record from database. i click new button and the textbox will be empty. Wat is the code for add new data?
View Replies View Relatedi'm trying to figure out how to use the same page to get different output using .asp?id=.
I have a db table with 5 records & want to on my page to be able to with a listbox/menu be able to switch between these 5 records using the same page.
I had write an asp file to get data from an xml named "data.xml" and below is the coding:
Dim xml
Set xml = Server.CreateObject("Microsoft.XMLDOM")
xml.async = False
xml.load (Server.MapPath("data.xml"))
Dim fText1, fText2
fText1 = xml.documentElement.childNodes(0).text
fText2 = xml.documentElement.childNodes(1).text
Set xml = Nothing
It's all Ok and can run. But my problem here is I want to call an xml file that I don't know its name (not "data.xml"). The xml file pass by the user who call my asp file. The user can pass the xml via anything for example asp or VB component. So I will not know exactly what the name of the xml file.
the actual question is as follows:
i have setup a DSN called "pro"
now i have tables in this database
i m running oracle
if i were using MS Access i know how to insert new fields by using the
RS.Mode = adModeReadWrite
how do i do it for oracle? not just inserting data into tables but also what r the commands that i have to give in the asp code page so that i can even update( edit ) and delete records.
I have a DB called users.mdb and it has the tables:
Myusers-
(fields) ID Name Password DOB Date joined
Messages-
(fields) ID Mailto Mailfrom Subject Content Postdate
I am trying to develop inbox.asp, how do i get it to display the mail for each articular user, and no one elses mail?
some way to access to the content of the HTTP POST? Perhaps throw the request object or something similar to the $HTTP_RAW_POST_DATA gobal variable available in PHP.
View Replies View RelatedI am having a lot of problems with this, I am trying to create a pdf file from data submitted by the user via a form.
Once the details are in the PDF the file needs moving into the secure area of the site.
Anyone have a clue how to do this?
i am trying to use AJAX to get XML data from 3rd party site and display on my site. it works in IE, but does not work in Mozilla. i want to find a method where i can do that.
View Replies View RelatedIs it possible to write out the contents of a database into an exel-type
spreadsheet within an asp page?
I got a database with user and email in it. Now I want when a user logs into my page that it automaticly fills in the email into a email form. How can I do that in Asp.
View Replies View RelatedI want to fix this problem, i dont no how. Bassicly there is blank data appearing in my database, for no apparant reason! Code:
View Replies View Related