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
ADVERTISEMENT
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
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
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
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
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
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
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
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
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
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
View Related
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
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
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
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
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
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
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
I have a home page on an intranet called default.asp I just type in
the server name to take me to the default page http://server. The home
page has an anchor name tag: <A name="fred">Freds Info</A>
It is located by this anchor href tag: <A href="#fred">Up to Freds
Info</A>
The problem is that when I first use the link to take me up to Freds
Info, the default.asp page is reloaded then I am taken to the Freds
Info, which is a pain I dont want this to happen. I just want to click
the link and be taken to the part on the page.
After the page is reloaded I can then use the link again to go up to
Freds Info without the page reloading. What is the problem?
View Replies
View Related
I use Anchor tag in my application and and i set the title attribute to show the tool tip when anyone place the mouse cursor over there i write
<a href="check.htm" title="Open Check">Click here</a>
and i want to create a link with the tool tip how can i create it.
View Replies
View Related
In 1.asp:
<a name="head">
<iframe src="2.asp#a1"></iframe>
In 2.asp
<a href="1.asp?ID=1#head">link</a>
When 1.asp 's opened, it go to anchor of 2.asp.But my intention is when opening the 1.asp will go to anchor 1.asp (head) and iframe will go to anchor 2.asp (a1).They must work independent together
View Replies
View Related
I want to use a named anchor. but this confuses my asp as it thinks officeid
is 118#subimages not 118.
View Replies
View Related
I have a page with a div tag styled in this div is a list of projects pulled from a db.
text-align: middle;
clear: both;
overflow: auto;
width: 95%;
height: 175px;
This means that the content in the div tag when larger than the div height has a scroll bar at the side to view all the projects. Once the projects area displayed there is a image at the end of each row that when clicked goes to the db and pull back reports for that project. This is all done by passing vars in the querystring pulling info from the db and writing out the appropriate code. Code:
View Replies
View Related
While working with IE7 i found that my target attribute in <a> tag is not showing the output in the specified frame which i choose.
View Replies
View Related
this url:
comments.asp?id=34#foo
should jump to the "foo" anchor in the page that results from the querystring (comments.asp?id=34)... but sometimes in IE6 it reads id not as "34" but as "34#foo" ... odd behaviour and i cant recreate it reliably, i have two very similar sites and one seccumbed to this bug and the other didnt, what i had to do was double check the input value (i was basically using isnumeric on it) and Code:
View Replies
View Related
I'm trying to do the following:
Code:
response.redirect("partnerdetails.asp?"&request.QueryString&"#card")
ASP tries to take the html as part of the querystring, putting the anchor like this:
Code:
response.redirect("partnerdetails.asp#card?"&request.QueryString")
Also creates an error. How do I make these work together?
View Replies
View Related
I have a web page that accesses a database to pull news stories down and create a link to another page that is populated with the news stories. These stories take up enough space that the page has to scroll. I want to be able to have the links it generate go directly to an anchor on the second page where the news story begins.
Can someone point me in the right direction to a place where I can get more information about this?
View Replies
View Related
I'm using ASP and Javascript - can I access the HREF property of an anchor tag? i've used
document.images.image3.src = variable
but I can't find the syntax for using it with the <A tag. Is it part of a collection?
View Replies
View Related
Whenever I click on a link (on the shoppingcart site I'm developing) that contains a querystring with the category name and an anchor name (whatever the name of the '#' bit in the URL is), SQL retrieves the category name from the querystring, filters out the appropriate information on the products and the page jumps down to the anchor link.
Once the customer clicks on a product, the processing page is meant to redirect, via the server.redirect command, back to the products page with a querystring identical to the initial filtering one (with the anchor name attached), thus teh customer is back to the same product that he clicked on, without having to scroll down every few seconds to add more of the same product.
However, even though the querystring sent by the response.redirect command is identical, the ASP code can't seperate it again properly and thus the SQL statement shows nothing, as the ASP coding thinks that the info following (and including) the # is apart of the 'category' part of the querystring.
View Replies
View Related
Let's say I have a form like this:
<form action="handler.asp"> ... </form>
Within handler.asp, I output a number of named anchors:
<a name="important1">Important 1</a> ...
<a name="important2">Important 2</a> ...
<a name="important3">Important 3</a> ...
In my form processing code, I want the returned page to jump to one of these anchors depending on the result of the processing.
How can I do this?I don't want to use a redirection because then I would have to
re-process the same page.
View Replies
View Related
How would I strip all <a href=""></a> tags from a block of text using ASP?I assume you would need to find "<" and ">" tags, but I am not sure how you would actually remove it from the text.
View Replies
View Related
I have a menu made up of images that swap when clicked (ie home_on and home_off, contact_on and contact_off etc) but when i tried to put anchor tags around the images they wont swap any more?
View Replies
View Related
Is there a way to get the current page's url with the anchor as well? If my url is test.asp#fubar, and I get Request.ServerVariables("URL"), I don't get the #fubar at the end - anyone know how to get this bit?
View Replies
View Related