Move Forward Next Data

I want to move to next data in the data set, however i am not sure what is the syntax.
Can anyone who know please advise me?Code:

strsql = "select main_cat_id, cat_name from main_categories where main_cat_id in (26,27,28,29)"
set rs = connectdb(strsql,strconn)
for i=0 to rs.recordcount
response.write rs("main_cat_id")&"<BR>"
rs next
next

View Replies


ADVERTISEMENT

Forward XML Request

I am trying to write an ASP page that would forward an XML request
to a remote server, and then write the response to the client (a
kind of proxy, if you like).

I am sending the query to this ASP via a VBA (access2k) procedure,
which basically looks like :

Dim oXMLHTTP As New MSXML2.XMLHTTP40
Const strURL As String = "http://myserver/myasppage.asp"
Dim strResponse As String

oXMLHTTP.Open "POST", strURL, False
oXMLHTTP.Send "<?xml version=""1.0"" encoding
=""iso-8859-1""?><xmlxmlxml/>"
strResponse = oXMLHTTP.responseXML.xml


Now, the problem I have is to retrieve this XML !
In the ASP, I tried : Code:

View Replies View Related

Intercepting Back / Forward

In an ASP.net application I would dearly love to
disable or intercept the User's click on the browser's
Back and Forward buttons so that the application can
control page navigation.

I suspect this only makes sense Clientside - perhaps
each aspx page could destroy history?
Has anyone any suggestions?

View Replies View Related

Alternate Back/Forward Buttons

I have a fullscreen page which needs to incorporate a forward, back, and close button. I have this working fine but after a review, people suggested that the foward and back buttons not be active if they do nothing.

In other words they want them to function exactly like a standard browser's forward and back button. When you open a page in a new window, the back button is grayed out until you move to another page. The forward button is grayed out until you move back a page.

Can this be done?I need to place a grayed out image if there is no back history or forward history. Otherwise, I need an active image with the back and foward action.

View Replies View Related

Force Refresh On Back/Forward

How do I force the page to refresh when the user hits the back button on the browser? I have an 'add' record form and I have inserted code so that it will not duplicate if the user submits the form several times.

however I just discovered that if the user goes forward then back and submits again it will create a new record. I want it to display the 'page expired' message.

View Replies View Related

Browser Refresh/Back/Forward Webpage...

I have never done the ASP programming yet but I want to hear the logic of the programming and see the sample code so I can have a better idea of how it work...

I have noticed that on one of hte ASP website, it was able to detect whether I did the back/forward button and blocked it.

View Replies View Related

Regular Expression :: Forward Slash And Remove Duplicates

I have a string like so:

Fruit (apple) (pear) (banana) (pear/orange/apple)

I need a regular expression that will parse it into the following:

apple / pear / banana / orange

i.e. separate them all by a forward slash and remove duplicates.

View Replies View Related

Move To ASP.net

I've been writting small simple webpage for years using FrontPage and ASP.
I'm thinking it might be time to take a look at ASP.net but am not sure
where to start. Is there a suggested site that would help someone move from
just ASP to ASP.net? Things like in ASP you'd write the code like X and in
ASP.net you'd write like Y.
Is there a (Free is possible) application that I should use to develop
ASP.net code in? I assume that FrontPage isn't going to cut it.

View Replies View Related

Move Row Up Or Down

I'm building a small CMS, and i've run into a "small" problem. I need a simple way to sort menu-items, have up/down arrows, to move menu-items. my table

id, item_name, item_order, stamp

1, Main, 1, 20060822
2, Contact, 2, 20060822
3, News, 3, 20060822

any clues?

View Replies View Related

Move To Dot Net

I have been running asp for several years and want to know if I could, what would I need to do to run asp and dot net on the same server. In other words, what more would I need to install on my server.

View Replies View Related

Move To .net

what do you think about moving to asp.net? All the code must be rewritten! asp.net a lot more faster than asp ? is it only advantage?

View Replies View Related

Move To Next Field

i have a page that calls images from a database, that is 3 images a page but in my database i have more pictures for one record, so i want to have something like a link that will call the next field that has an image and i want it to replace the ones that i already have.

View Replies View Related

How To Move Asp From IIS To Apache ?

I have asp pages running on IIS of XP prof.
I want to move to the apache web server

Can anyone explain how to do that?

View Replies View Related

Move To Next Field

i have a page that retrieve images from a database, but know the thing is i can only retrieve 3 images per page and i have a link that must call more images from the same record but replacing the ones that i already have!

View Replies View Related

Move Records From One Db To Another?

i was wondering if there was a way to move a set of records from one database into another database??

Basically i want to archive a whole heap of records that i already have in on database.

Im using an access database as well

Even moving them into a nother table would probably do as well.

View Replies View Related

Move Onto Next Line

i have a text area for user to enter remarks. and their remarks can be very very long
my output page is a table which i underline the lower boundry of the table.

when i wan to output the remarks on this line,it will over shoot the line and page.how do i make it such tat it will move onto the next line?

View Replies View Related

TAB MOVE FOCUS

I have a SSN Field which include 3 text boxes. How do I move the focus from one box to another as soon as user enter the max characters in the text box.

For example:when users enter 123 in the first text box of ssn control should move to next text box.

View Replies View Related

Move To Next Record

I have about 10 records within my database and would like each one to be on a featured page - I would like my SQL query to scroll through and display the next record with the database every 1 month.

As I only have 10 records, I would like the query to infinitely repeat this process. What should I add to my SQL query to allow me to do this?

View Replies View Related

How Can I Move First Value To Last In An Array

I'm trying to figure out how I could move the first value in an array to the end of the array so that the second value would then be the new first. I can't really wrap my mind around how I would do this.

View Replies View Related

RecordSet.Move

I'm trying to use either one of these methods to position the cursor in a specific position inside a recordset, but neither one seems to work. For example, I have 10 records in my rsData recordset, and I issue this command

rsData.Move 5, 1 'move to #5 from beginning

I then retrieve rsData("field_name"), expecting that it'd return field_name of record #5, but it doesn't seem to work like that. What am I missing? Is there a restriction on what type of cursor a recordset must be opened in?

I'm using W2K/IIS5/ASP.

View Replies View Related

Trying To Take Database And Move It To Textbar.

I am trying to make it where when the highlighted item from the pull down menu is selected then a small descripion will appear in the text box next to the pull down menu. Any ideas, I am sure it is simple, but I keep banging my head off the walls trying to get it. Code:

View Replies View Related

Move Contents Of One Folder To Another

Is there a function in ASP/VBScript that allows you to move/copy files from one folder to another. I have an application that run a script on some files and once this is done they need to be moved to a backup store.

View Replies View Related

Drag And Move An Image

how can i do an swapping of images by dragging an image into another image to swap their position.

View Replies View Related

Move To Last Record And Print?

I have a database with a table containing user names and I want to be able to move to the last record and display the user name.....so the end result is that I can display on my main page:

"Welcome to our newest member: XXXXX"

For some reason I cant seem to do this, it says to me that objRst.MoveFrist is ok but objRst.MoveLast cannot be accepted. Here is my code:

View Replies View Related

Move Site Without Downloading

I'm curious as I am in need of advice on how I can move a site from an old Win 2K server, to it's new home on a Win 2003 server, without having to mess around with downloading/uploading the file's (there's over 30,000 file's/folders, so it would take forever to do it manually).

I've heard of an ASP script thats capable of this, but can't seem to locate it.

View Replies View Related

Move Oracle Database To Another System

i have written a small asp code with backend as oracle.i have created a small database which is accessed by asp. now suppose if i have to move the database to another system along with code what should i do.

View Replies View Related

Button To Move To The Previous Page

I am trying to put a buuton into my page which will take the user back to the previous page. The reason i am doing this is that the user may come to this page from more than one other page.

I am using this code for the button, which i have seen on many code examples, but when i click on the button, it results in an error as if the existing page is trying to load itself up again.

<form>
<td width = "325" align="left">
<input type="submit" name="back" value="Back" onClick="javascript: history.go(-1)">
</td>
</form>

have also tried using the javascript: history.go(-1) code in the form declaration as the onSubmit attribute, but this just makes the same page load up again.

View Replies View Related

Pass Bill To Data To Ship To Data

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 Related

Data Type Mismatch When GETting Data From An Access DB

We 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:

View Replies View Related

Data Update To Data Base

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.

View Replies View Related

Data Grid Or Data Matrix...

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.

View Replies View Related

How To Get Data From The User In One Page And Display Related Data In A New Page

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:

View Replies View Related

Passing Form Data Using ENCTYPE="multipart/form-data"

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?

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved