Assign Hidden Value To A Repeat Region

Currently, my repeat region is showing all of my repeated records that are being brought in from my database. I would like to display these records in a confirmation page, but I am having problems having them display in my confirmation page.

I tried to assign a hidden value to the repeat region, but I am getting no data to come across. Below is the code that I'm using: Code:

View Replies


ADVERTISEMENT

ASP/VBS Repeat Region

Not sure if this is possible, I have a memofield that contains a data string
(e.g. name1, name2, name3, name4 .... name 30) I would like to represent the
data in a table so that each name is on a different row eg

Name1
Name2
Name3
Name4

etc

Name30

View Replies View Related

Repeat Region

how do I achieve this?

Today's News
Date
Title of current news

Short DescriptionTitle of 2nd newsTitle of 3rd news Note:

I want the current inserted news to be on top with short description and the previous news just to display the title only.

View Replies View Related

Repeat Region

I have some fields in the database that are not used in certain records, the problem being of course the it displays these feilds in the webpage and then the size of the webpage gets rather big, full of empty spaces .its just to fields in particular I need to apply this to?

View Replies View Related

Repeat Region

I am on the last part of my ecommerce site but I've hit a problem I can't seem to figure out. I have an asp page with an Orders table that lists the OrderID and the customer name and what they have bought.

Then if you click on the ID number you go to a details page that lists their name, credit card details, address etc. Also I want to show all the items that they have purchased but so far it only enters the first item they've purchase. I have tried making just the products a repeat region but I get an error when I do that.

View Replies View Related

Create Repeat Region

I would like to retreive a list of records from my database using repeat region but I need 2 records in 1 line.
Any idea on how to do this?

View Replies View Related

Vertical Repeat Region

Anone know of free code available to create a vertical repeating region? (I've found code for a horizontal repeating region.). I want to display my data from an Access table vertically, not horizontally.

View Replies View Related

Getting Totals While Using Repeat Region

I have a database that displays its records on a webpage, The information displayed on the webpage is included in a repeat region so that the related records repeat down the page.

I want to add the totals of the displayed records at the end of the page. How do i do this. Im assuming that it goes outside the repeat region? Does anyone have any code or a walk through of how this is done?

View Replies View Related

Inserting An Anchor To A Repeat Region

i am not sure if i am on the right section to place this thread, but my code is in .asp and i am using a access database and i wanted to link a text to another text in a seperate page that contains a repeat region that its pulling from the access database.

this lists like 7 records at a time and i was using the anchor method to link the text from the home page to the text in one of the fields that is in the repeat region and was not succesfull, It would take me to the page but would not go to that specific recordset that i have placed the anchor.

View Replies View Related

Repeat Region - Form Fields

I am displaying multiple records returned in a resultset using a Do While loop. I've set the form field names like the following:

<select name="fieldnameA<%=ID%>"...

where <%=ID%> is a hidden field on the page that holds the id value for each record.

I want to append that number to the end of each form field

So, "fieldnameA" would be fieldnameA1 or fieldnameA2, etc.

I thought this would work, but the field names remain the same for every record...i.e. fieldnameA just repeats and the hidden field value isn't appended to the end of the field name.

Is there a way to append the value of the hidden field to the end of the form fields? So, the form field names are different for each new record displayed?

View Replies View Related

Repeat Region W/ Data From 3 Recordsets

I have a single access database file with several tables, two of which are tblPanels and tblAssignedPanels. The table tblPanels has a panel ID number and a name for the panel. In the table tblAssignedPanels, there is a record ID, the panel ID of the panel that has been assigned, and the user ID of the user account the panel has been assigned to.

Then, there is a third table (tblManuals) that has a manual ID, the ID of the panel the manual is for, and the path to the manual on the server. What I would like to do is have a repeat region that lists all the panel names (from tblPanels) that are assigned to the currently logged in user based on userID (assigned panels found in tblAssignedPanels), and makes each a link using the path in tblManuals.

View Replies View Related

Calculate Total In Repeat Region

I need to calculate a total based on fields in a repeat region, these values are stored in an SQL db, all are numeric and written in ASP.fields are

TOTAL_COST VAT GRANDTOTAL (Page selects records based on
field parameter and displays in a repeat region)


At bottom of page need to show total sum like

TOTAL_COST(sum of above)
VAT(sum of above)
GRANDTOTAL(sum of above)

View Replies View Related

Data Output On Repeat Region

Ok now i am not sure if what i am trying to achive is done by css or asp code. what i am trying to do is when data is outputed on a page that has a repeat region set to a table. How do i get the rows to show in diffrent colours, eg. 1st row the baground is blue than second is green than third is blue again and so on.

View Replies View Related

Totaling Fields In Repeat Region

I have information pulled from a database and it works ok. However, I have several records in each repeat region and I want to add the values in these fields together.

So in the first record I have
cont1 = value from database (1000)
cont2 = value from database (2000)
cont3 = value from database (1000)

Second Record
cont1 = value from database (2000)
cont2 = value from database (1000)
cont3 = value from database (1000)

Total For that line is = (8000)

View Replies View Related

How Do I Make A Repeat Region On A Recordet Go Left To Right Instead Of Just Down

I have a dynamic driven web page which get's a select value from the menu choice.

I querry the database recordset and pull back the correct values.

I want to display them in a grid fashion. I want to limit how many items per page are show in each grid and then I'll use the standard DW behaviors to move to next page, etc.

The challenge I have is making the repeat region go left to right instead of repeating down.

View Replies View Related

Recordset - Repeat Region (user Selection)

I have a page which on default will display 5 rows per page. I would the user to be able to select from a listbox (on the recordset page)and change the number of rows displayed on the page.

I have tried a page with a listbox on and submitting to itself. But on re-load the listbox returns to its default value.

View Replies View Related

DWMX2004 And ASP/VB - Need A Sort By Name Dropdown Through Repeat Region

I've created an ASP/VB page completely with DWMX2004, very minimal code tweaking, using mostly the tools available in DW.

Created a Table with a bunch of columns pulling info from MS Access DB, and set a Repeat Region on that table.. I also have Add/Update/Delete pages, etc..

I've been trying to figure out how to add a dropdown box (or maybe several) to Sort on various columns..

like above the Name column, i'd like to be able to sort by Name.. then Zipcode, State, etc..

Maybe if I could Sort the table by clicking on the column Headings, that would be even better..

I have a table with 3 rows and 5 colums.. top row is where my column Headings are.. then a spacer row, and then the info pulled from DB.. i've set the repeat region just on the bottom Row..

View Replies View Related

Force New Page In Printed Repeat Region

I have an ASP page that users print off onto headed paper, question is how
do I force a new page when the length of the data varies from at times less
than a page to many pages at other times?

I know this can be done with CSS but not too sure how to implement it.

View Replies View Related

Assign Variable To Name

itemname = "select sw_item_itemid, sw_item_item , sw_item_lowquantity"
itemname = itemname & " from sw_item"
itemname = itemname & " where sw_itemcategory_catid = "&catid&""

set displayitem = objconn.execute(itemname)

if displayitem.bof and displayitem.eof then

counting = counting + 1
("countnotitem" & counting ) = filtercategory("sw_cat_catlabel")

how can I assign countnoitem with a digit ?

View Replies View Related

[Assign][Session]

I got a session variable for username. Now, i want to assign this value to the textbox.
HOW WOULD I ACHIEVE THIS?

View Replies View Related

I Got 9 Rnd.#'s, Now How To Assign To Nine Variables?

I put in a request recently for a script which would return 9 random numbers between 1 and 30. I got a reply which gave me this script, which writes them out.

It works great, but in the loop that writes them out, instead I would like to assign each value to a variable, such as img1,img2,img3,img4, etc. in the for loop, is this possible, or should I write out 9 statement lines, each assigning a value to a variable. I intend to plug the values into a java applet which rotates images.

Come to think of it, I could just put each value of the array right into the img tag, no? <img src="images/<%=random_number(1)=>.jpg"> Code:

View Replies View Related

Assign Variable

I have a code somewhat like this:

Dim screenSize

If Request.Form("resScreen") = "1024x768" Then
screenSize = "big"
Else
screenSize = "small"
End If

this works fine, but when this page is reloaded, it doesn't
find this Request.Form("resScreen")
(this form is also on another page, which explains why) but can I store this variable "big" the first time it loads somehow?

View Replies View Related

Assign Variable

For Each objitem in Request.Form
if request.form(objitem).count > 0 then
For intLoop = 1 to Request.Form(objitem).count
Objitem = request.form(objitem)
End if
Next

server error in line of "end if"

I want to collect the values from the form and assign a variable to each value field

View Replies View Related

Assign Sql Database

I am using Visual Studio I have created a website using HTML code and the pages look fine I now need to do the following.

I have a picture where if some one clicks on it it then needs to query an SQL database and return on a different page the results. How do I assign a sql database to my website and how do I connect to it ?

View Replies View Related

How To Assign A Variable And Store The Value Getting From XSL

I would like to ask izzit correct that assign a variable in asp and store the value select from XSL list at below: (in my asp page) Code:

View Replies View Related

Screen Resolution Assign To Asp

I'm retrieving the screen resoltion with javascript code, but i can't assign the correct value to asp. the response.write is displaying zero (0) for screen res., although when i do a document.write in the javascript part, then my screen res. is 1004 ...

View Replies View Related

Assign A Random Number

I have this simple application that I put together using ASP. It has an html form that submits to an access database through a simple ASP file. It’s a survey form basically. One of the departments here wants to get some feedback from their students and in return for filling out the survey they will be entered into a drawing for a gift certificate. The catch is that the survey is anonymous. What they want to happen is each person is given a unique number at the end of the survey and they will pick one of those numbers randomly to see who the winner is. How can I possibly do this? I am stuck.

I think I may know what I need to do:

Pull a unique number from a database and post it onto the HTML form near the submit button. Notate on the page that the user write the number down and when they hit submit it is inserted into the database along with the record. I have absolutely no idea how to do that.

The HTML form submits into the database using this "add.asp" file:

Code: ....

View Replies View Related

Assign Javascript Variable Value

If I assign VBScript server side variable a to javascript variable x, it is fine.

<%
Dim a, b
a = 10
%>
var x = <%= a %>;
alert(x);

But if I do the other way around, then it has 500 error. any ideas??

<% b %> = x;

View Replies View Related

Assignment Doesnt Assign

My ASP page contains the following VBScript code:

<%
zipCode = Request.Form("zip")
%> <br>zip: <%= zipCode %>, rf: <%= Request.Form("zip") %>

When I enter "abc" into the "zip" field on the form, I get the
following output:

zip: , rf: abc

Why doesn't the first statement assign the "abc" string to the
variable "zipCode"? What am I not seeing?

View Replies View Related

Assign The Title With The Help Of Tooltip

I'm setting the title attribute of an input box to assign a tooltip. If I assign title the value "Agent does not exist", when hovering over the textbox the tooltip will only display "Agent" it's the same with all my tooltips (only the first word is displayed).

View Replies View Related

Assign CSV Data To Recordset Through URL

I'm having a bit of a problem and I was hoping someone could help me out. I'm trying to create an interface for manipulating historical stock prices obtained through finance.yahoo.com. I need to make a recordset contain the data of a CSV file that Yahoo returns, but the catch is that I want to pass the data along by pointing the recordset to the URL of the CSV files on the Yahoo server.

Yahoo creates its CSV files dynamically through the querystring of its URL (see below), and I would use inputs to my interface to manipulate the URL for specific ticker symbols, dates, etc. I guess the simplest example is that a user could input a ticker to my interface, the recordset would somehow "call" the URL for the correct data, and then that data would be in the recordset, where I could manipulate it, before returning the information back to the user.

I'm just stumped on how to get the CSV data into the recordset on the fly, just by calling the URL.

The following link is an example of what Yahoo does. Manipulating the querystring changes the ticker, date range, and level of detail. You can also change the table.csv to table.txt and return the actual data in one big text file. Code:

View Replies View Related

Assign Session Variable

How can one 'assign' value of a session variable to a variable, something
like: temp = session("variable").

View Replies View Related

Assign Var To Textbox From SQL Query

URLURLOn page load there is a variable called "id" it has already got the value (say 7170)

I have a query in a function that executes a dataset, the query is "select Col1, Col2 from persons where id = " & id

Therefore, on page load - how do I call the function. Assign the value of Col1 to textbox1 and the value of Col2 to textbox2.

In the text box I would use <%=var %>

But how do I assign the result of the query to the variable?

Would it be worth using a datareader instead?

View Replies View Related







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