ASP and Dreamweaver
A newbie question here folks, but I desperately need your
help...
My site has a page called www.mysite.com/work
That page has links to click on where you can view details of
the work... those links open pages that look like this--
mysite.com/work.asp?projects=2
Where can I find the text being generated in the above
mentioned page? I have browsed thru all of my page files in the
site and cannot find where the .asp text is originating from.
Help!
> Thanks for the input guys... Sorry Brandon... would
> www.hypotheticalsite.com
> be better?
Actually,
http://www.example.com would be
best, as it's a TLD that has been
reserved specifically for that use.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"PelicanHead" <[email protected]> wrote in
message
news:[email protected]...
> Thanks for the input guys... Sorry Brandon... would
> www.hypotheticalsite.com
> be better?
>
> Let me be a little more specific about my question--
>
> My site (which i have inherited only because my designer
/webmaster and
> the
> company i work for have parted ways) has a page where
you can view 25 or
> 30
> items listed vertically. Underneath each of these items
is a link to click
> for
> more info. When a visitor clicks they are taken to a
page that provides
> several
> paragraphs of detail on that item. OK, no big deal.
>
> When i took over duties for the site, one of my first
chores was to
> rewrite
> some of the copy on these "detail" pages. The problem i
encountered was
> that
> when I looked in Dreamweaver, all i could see was the
file "work.asp" .
> When
> viewed the code looked like something this>
>
> CASE 4
> bioName = "John Doe"
> bioTextId = 4
> bioPic = "John-Doe"
> celebURL = "<BR><a
> href=""
http://www.johnpdoe.com/"">http://www.johnpdoe.com/</a>"
> CASE 5
> bioName = "Bob Smith"
> bioTextId = 5
> bioPic = "bob-smith"
> celebURL = "<BR><a
> href=""
http://www.bobsmith.com/"">http://www.bobsmith.com/</a>"
>
> etc.....
>
> My dilemma is that I cant find any files that contain
the detailed copy...
> The
> code appears to be pointing to a bioTextID # but where
is the
> corresponding
> data? ... That is the number referenced when a site
visitor opens that
> page
> (i.e. www.hypotheticialsite.com/work_bio.asp?bio=5) I
cannot find the
> paragraph
> of info anywhere in any of the .asp files... Where is it
pulling this text
> from??? Is it imbedded somewhere on work.asp? When I
look at it all is see
> is
> the above code.
>
> Sorry if this sounds convoluted... Web design and
maintenance is not my
> trade.
> I appreciate your help!!!!
>
>
>
>
>
Similar Messages
-
Anyone using ASP and Dreamweaver
Hey everyone,
This article is sadly out of date and we are looking for
something to replace it:
http://www.adobe.com/devnet/dreamweaver/articles/setting_up_asp.html
My thinking is that someone out there has already written
these instructions and posted them, but I'm not sure where to look.
The other possibility is that someone out there might really want
to re-write this, and if so, we could post your article on the
Adobe Developer Center and you could become famous!
Please chime in if you are at all interested.
Jon Michael Varese
Lead Writer, DreamweaverHi Jon,
I have a very good ASP guy that may be interested, could you
pop me a not
offline and I'll put you in touch.
lawrence at cartweaver dot com
Lawrence *Adobe Community Expert*
Cartweaver.com
Complete Shopping Cart Application for
Dreamweaver, available in ASP, PHP and CF
"Jon Michael Varese" <[email protected]>
wrote in message
news:gg7kq5$bca$[email protected]..
> Hey everyone,
>
> This article is sadly out of date and we are looking for
something to
> replace
> it:
>
>
http://www.adobe.com/devnet/dreamweaver/articles/setting_up_asp.html
>
> My thinking is that someone out there has already
written these
> instructions
> and posted them, but I'm not sure where to look. The
other possibility is
> that
> someone out there might really want to re-write this,
and if so, we could
> post
> your article on the Adobe Developer Center and you could
become famous!
>
> Please chime in if you are at all interested.
>
> Jon Michael Varese
> Lead Writer, Dreamweaver
> -
Page Numbering w/ASP and Dreamweaver CS3
I am new to this so please bear with me if this question has been asked a million times. I have a single search parameter searching for a "Department", the result displays on the next page (The Results page). This works fine. I am using DW CS3 and I am now finding out that when I use it with ASP it only allows the Previous, Next, First, Last, Specific records to be displayed.
I really want it to display the total amount of pages by numbers Example: (1-10, 11-21, etc...). Can someone please help me? I have searched the web and came across this site http://www.dmxzone.com/go?12449. I am not following where to put the code he suggest. Can someone please help me?
Thanks for any help in advance.
Here is the asp code I have for my Results page:
<%@LANGUAGE="VBSCRIPT"%>
<!--#include file="Connections/BishopsLogin.asp" -->
<%
Dim rs_Results__MMColParam
rs_Results__MMColParam = "1"
If (Request.QueryString("Department") <> "") Then
rs_Results__MMColParam = Request.QueryString("Department")
End If
%>
<%
Dim rs_Results
Dim rs_Results_cmd
Dim rs_Results_numRows
Set rs_Results_cmd = Server.CreateObject ("ADODB.Command")
rs_Results_cmd.ActiveConnection = MM_BishopsLogin_STRING
rs_Results_cmd.CommandText = "SELECT Department, SubpageTitle, LinkDescription, URL, DateLastModified FROM dbo.Episcopal_Data_Files WHERE Department = ?"
rs_Results_cmd.Prepared = true
rs_Results_cmd.Parameters.Append rs_Results_cmd.CreateParameter("param1", 200, 1, 30, rs_Results__MMColParam) ' adVarChar
Set rs_Results = rs_Results_cmd.Execute
rs_Results_numRows = 0
%>
<%
Dim Repeat1__numRows
Dim Repeat1__index
Repeat1__numRows = 5
Repeat1__index = 0
rs_Results_numRows = rs_Results_numRows + Repeat1__numRows
%>
<%
' *** Recordset Stats, Move To Record, and Go To Record: declare stats variables
Dim rs_Results_total
Dim rs_Results_first
Dim rs_Results_last
' set the record count
rs_Results_total = rs_Results.RecordCount
' set the number of rows displayed on this page
If (rs_Results_numRows < 0) Then
rs_Results_numRows = rs_Results_total
Elseif (rs_Results_numRows = 0) Then
rs_Results_numRows = 1
End If
' set the first and last displayed record
rs_Results_first = 1
rs_Results_last = rs_Results_first + rs_Results_numRows - 1
' if we have the correct record count, check the other stats
If (rs_Results_total <> -1) Then
If (rs_Results_first > rs_Results_total) Then
rs_Results_first = rs_Results_total
End If
If (rs_Results_last > rs_Results_total) Then
rs_Results_last = rs_Results_total
End If
If (rs_Results_numRows > rs_Results_total) Then
rs_Results_numRows = rs_Results_total
End If
End If
%>
<%
Dim MM_paramName
%>
<%
' *** Move To Record and Go To Record: declare variables
Dim MM_rs
Dim MM_rsCount
Dim MM_size
Dim MM_uniqueCol
Dim MM_offset
Dim MM_atTotal
Dim MM_paramIsDefined
Dim MM_param
Dim MM_index
Set MM_rs = rs_Results
MM_rsCount = rs_Results_total
MM_size = rs_Results_numRows
MM_uniqueCol = ""
MM_paramName = ""
MM_offset = 0
MM_atTotal = false
MM_paramIsDefined = false
If (MM_paramName <> "") Then
MM_paramIsDefined = (Request.QueryString(MM_paramName) <> "")
End If
%>
<%
' *** Move To Record: handle 'index' or 'offset' parameter
if (Not MM_paramIsDefined And MM_rsCount <> 0) then
' use index parameter if defined, otherwise use offset parameter
MM_param = Request.QueryString("index")
If (MM_param = "") Then
MM_param = Request.QueryString("offset")
End If
If (MM_param <> "") Then
MM_offset = Int(MM_param)
End If
' if we have a record count, check if we are past the end of the recordset
If (MM_rsCount <> -1) Then
If (MM_offset >= MM_rsCount Or MM_offset = -1) Then ' past end or move last
If ((MM_rsCount Mod MM_size) > 0) Then ' last page not a full repeat region
MM_offset = MM_rsCount - (MM_rsCount Mod MM_size)
Else
MM_offset = MM_rsCount - MM_size
End If
End If
End If
' move the cursor to the selected record
MM_index = 0
While ((Not MM_rs.EOF) And (MM_index < MM_offset Or MM_offset = -1))
MM_rs.MoveNext
MM_index = MM_index + 1
Wend
If (MM_rs.EOF) Then
MM_offset = MM_index ' set MM_offset to the last possible record
End If
End If
%>
<%
' *** Move To Record: if we dont know the record count, check the display range
If (MM_rsCount = -1) Then
' walk to the end of the display range for this page
MM_index = MM_offset
While (Not MM_rs.EOF And (MM_size < 0 Or MM_index < MM_offset + MM_size))
MM_rs.MoveNext
MM_index = MM_index + 1
Wend
' if we walked off the end of the recordset, set MM_rsCount and MM_size
If (MM_rs.EOF) Then
MM_rsCount = MM_index
If (MM_size < 0 Or MM_size > MM_rsCount) Then
MM_size = MM_rsCount
End If
End If
' if we walked off the end, set the offset based on page size
If (MM_rs.EOF And Not MM_paramIsDefined) Then
If (MM_offset > MM_rsCount - MM_size Or MM_offset = -1) Then
If ((MM_rsCount Mod MM_size) > 0) Then
MM_offset = MM_rsCount - (MM_rsCount Mod MM_size)
Else
MM_offset = MM_rsCount - MM_size
End If
End If
End If
' reset the cursor to the beginning
If (MM_rs.CursorType > 0) Then
MM_rs.MoveFirst
Else
MM_rs.Requery
End If
' move the cursor to the selected record
MM_index = 0
While (Not MM_rs.EOF And MM_index < MM_offset)
MM_rs.MoveNext
MM_index = MM_index + 1
Wend
End If
%>
<%
' *** Move To Record: update recordset stats
' set the first and last displayed record
rs_Results_first = MM_offset + 1
rs_Results_last = MM_offset + MM_size
If (MM_rsCount <> -1) Then
If (rs_Results_first > MM_rsCount) Then
rs_Results_first = MM_rsCount
End If
If (rs_Results_last > MM_rsCount) Then
rs_Results_last = MM_rsCount
End If
End If
' set the boolean used by hide region to check if we are on the last record
MM_atTotal = (MM_rsCount <> -1 And MM_offset + MM_size >= MM_rsCount)
%>
<%
' *** Go To Record and Move To Record: create strings for maintaining URL and Form parameters
Dim MM_keepNone
Dim MM_keepURL
Dim MM_keepForm
Dim MM_keepBoth
Dim MM_removeList
Dim MM_item
Dim MM_nextItem
' create the list of parameters which should not be maintained
MM_removeList = "&index="
If (MM_paramName <> "") Then
MM_removeList = MM_removeList & "&" & MM_paramName & "="
End If
MM_keepURL=""
MM_keepForm=""
MM_keepBoth=""
MM_keepNone=""
' add the URL parameters to the MM_keepURL string
For Each MM_item In Request.QueryString
MM_nextItem = "&" & MM_item & "="
If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then
MM_keepURL = MM_keepURL & MM_nextItem & Server.URLencode(Request.QueryString(MM_item))
End If
Next
' add the Form variables to the MM_keepForm string
For Each MM_item In Request.Form
MM_nextItem = "&" & MM_item & "="
If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then
MM_keepForm = MM_keepForm & MM_nextItem & Server.URLencode(Request.Form(MM_item))
End If
Next
' create the Form + URL string and remove the intial '&' from each of the strings
MM_keepBoth = MM_keepURL & MM_keepForm
If (MM_keepBoth <> "") Then
MM_keepBoth = Right(MM_keepBoth, Len(MM_keepBoth) - 1)
End If
If (MM_keepURL <> "") Then
MM_keepURL = Right(MM_keepURL, Len(MM_keepURL) - 1)
End If
If (MM_keepForm <> "") Then
MM_keepForm = Right(MM_keepForm, Len(MM_keepForm) - 1)
End If
' a utility function used for adding additional parameters to these strings
Function MM_joinChar(firstItem)
If (firstItem <> "") Then
MM_joinChar = "&"
Else
MM_joinChar = ""
End If
End Function
%>
<%
' *** Move To Record: set the strings for the first, last, next, and previous links
Dim MM_keepMove
Dim MM_moveParam
Dim MM_moveFirst
Dim MM_moveLast
Dim MM_moveNext
Dim MM_movePrev
Dim MM_urlStr
Dim MM_paramList
Dim MM_paramIndex
Dim MM_nextParam
MM_keepMove = MM_keepBoth
MM_moveParam = "index"
' if the page has a repeated region, remove 'offset' from the maintained parameters
If (MM_size > 1) Then
MM_moveParam = "offset"
If (MM_keepMove <> "") Then
MM_paramList = Split(MM_keepMove, "&")
MM_keepMove = ""
For MM_paramIndex = 0 To UBound(MM_paramList)
MM_nextParam = Left(MM_paramList(MM_paramIndex), InStr(MM_paramList(MM_paramIndex),"=") - 1)
If (StrComp(MM_nextParam,MM_moveParam,1) <> 0) Then
MM_keepMove = MM_keepMove & "&" & MM_paramList(MM_paramIndex)
End If
Next
If (MM_keepMove <> "") Then
MM_keepMove = Right(MM_keepMove, Len(MM_keepMove) - 1)
End If
End If
End If
' set the strings for the move to links
If (MM_keepMove <> "") Then
MM_keepMove = Server.HTMLEncode(MM_keepMove) & "&"
End If
MM_urlStr = Request.ServerVariables("URL") & "?" & MM_keepMove & MM_moveParam & "="
MM_moveFirst = MM_urlStr & "0"
MM_moveLast = MM_urlStr & "-1"
MM_moveNext = MM_urlStr & CStr(MM_offset + MM_size)
If (MM_offset - MM_size < 0) Then
MM_movePrev = MM_urlStr & "0"
Else
MM_movePrev = MM_urlStr & CStr(MM_offset - MM_size)
End If
%>
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
function MM_nbGroup(event, grpName) { //v6.0
var i,img,nbArr,args=MM_nbGroup.arguments;
if (event == "init" && args.length > 2) {
if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
nbArr[nbArr.length] = img;
for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
if (!img.MM_up) img.MM_up = img.src;
img.src = img.MM_dn = args[i+1];
nbArr[nbArr.length] = img;
} else if (event == "over") {
document.MM_nbOver = nbArr = new Array();
for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
if (!img.MM_up) img.MM_up = img.src;
img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])? args[i+1] : img.MM_up);
nbArr[nbArr.length] = img;
} else if (event == "out" ) {
for (i=0; i < document.MM_nbOver.length; i++) {
img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
} else if (event == "down") {
nbArr = document[grpName];
if (nbArr)
for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
document[grpName] = nbArr = new Array();
for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
if (!img.MM_up) img.MM_up = img.src;
img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up;
nbArr[nbArr.length] = img;
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
//-->
</script><script language="JavaScript" src="mm_menu.js"></script>
<link href="stylesheet.css" rel="stylesheet" type="text/css" />
</head>
<body onLoad="MM_preloadImages('images/nav_about_on.gif','images/nav_departments_on.gif','image s/nav_calendar_on.gif','images/nav_links_on.gif','images/nav_contact_on.gif','images/nav_h ome_on.gif','images/nav_forms_on.gif')">
<script language="JavaScript1.2">mmLoadMenus();</script>
<div align="center">
<table width="760" border="0" cellspacing="0" cellpadding="0">
<tr bgcolor="#ffffff" valign="top">
<td><a href="index.html"><img src="images/logobar_left.gif" alt="GCFA: Serving the Church through the ministry of administration" width="186" height="103" border="0" /></a><img src="images/blurb.gif" alt="General Council on Finance and Administration. The United Methodist Church" /></td>
</tr>
</table>
<table width="760" border="0" cellspacing="0" cellpadding="0" height="20">
<form method="get" action="http://google.umc.org/search" name="xxx">
<tr height="20" style="vertical-align: middle;">
<td bgcolor="#000000" width="580"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('about','','images/nav_about_on.gif',1)"><img src="images/nav_about.gif" alt="About Us" name="about" width="70" height="20" border="0" id="about" onMouseOver="MM_showMenu(window.mm_menu_0523125900_0,0,20,null,'about')" onMouseOut="MM_startTimeout();" /></a><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('departments','','images/nav_departments_on.gif',1)"><img src="images/nav_departments.gif" alt="Departments & Services" name="departments" width="146" height="20" border="0" id="departments" onMouseOver="MM_showMenu(window.mm_menu_0516155917_0,0,20,null,'departments')" onMouseOut="MM_startTimeout();" /></a><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('forms','','images/nav_forms_on.gif',1)"><img src="images/nav_forms.gif" alt="Forms/Reports" name="forms" width="105" height="20" border="0" id="forms" onMouseOver="MM_showMenu(window.mm_menu_0523125955_0,0,20,null,'forms')" onMouseOut="MM_startTimeout();" /></a><a href="calendar.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('calendar','','images/nav_calendar_on.gif',1)"><img src="images/nav_calendar.gif" alt="UM Calendar" name="calendar" width="89" height="20" border="0" id="calendar" /></a><a href="links.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('links','','images/nav_links_on.gif',1)"><img src="images/nav_links.gif" alt="Helpful Links" name="links" width="39" height="20" border="0" id="links" /></a><a href="contactus.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('contact','','images/nav_contact_on.gif',1)"><img src="images/nav_contact.gif" alt="Contact Us" name="contact" width="78" height="20" border="0" id="contact" /></a><a href="index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('home','','images/nav_home_on.gif',1)"><img src="images/nav_home.gif" alt="Home" name="home" width="38" height="20" border="0" id="home" /></a></td>
<td bgcolor="#990000" width="51" align="center" style="font: 11px arial, helvetica, sans-serif; color: #ffffff;"><img src="images/btn_search.gif" alt="Search" width="51" height="20" /></td>
<td bgcolor="#990000"><input name="q" type="text" size="15" style="font: 10px arial, helvetica, sans-serif;"/></span></td>
<td width="33" bgcolor="#990000"><input type="image" name="submit" src="images/btn_go.gif" alt="GO!" width="31" height="20" /></td>
</tr>
<input type="hidden" name="sort" value="date:D:L:d1">
<input type="hidden" name="output" value="xml_no_dtd">
<input type="hidden" name="ie" value="UTF-8">
<input type="hidden" name="oe" value="UTF-8">
<input type="hidden" name="client" value="GCFA_GCFAorg_Frontend">
<input type="hidden" name="proxystylesheet" value="GCFA_GCFAorg_Frontend">
<input type="hidden" name="site" value="GCFA_GCFAorg_Collection">
</form>
</table>
<table width="760" border="0" cellspacing="0" cellpadding="0">
<tr valign="top">
<td height="353" style="background-color: #dddddd; width: 150px;">
<table width="150" border="0" cellspacing="0" cellpadding="0">
<tr style="background-color: #990000;" height="25">
<td style="font: bold 11px arial, helvetica, sans-serif; color: #ffffff; text-align: center;">Department Resources</td>
</tr>
<tr>
<td><div style="font: 11px arial, helvetica, sans-serif; color: #000000; text-align: left; margin-left: 10px; margin-right: 10px; margin-bottom: 5px; margin-top: 5px;">
<p>PDF documents require using the<span class="style5"><a href="http://www.adobe.com/products/acrobat/readstep2.html" target="_blank"> latest version</a> </span>of the freely available Adobe Reader for proper viewing. Click on
the <span class="style5"><a href="http://www.adobe.com/products/acrobat/readstep2.html" target="_blank">Get Adobe Reader</a></span> link below for
download and installation instructions. <br />
<br />
<a href="http://www.adobe.com/products/acrobat/readstep2.html" target="_blank"><img src="images/get_adobe_reader.gif" alt="Get Adobe Reader" width="112" height="33" border="0" /></a></span><br>
<a href="images/get_adobe_reader.gif" target="_blank"></a><br />
</p>
</div></td>
</tr>
<tr style="background-color: #3C5D15;" height="25">
<td bgcolor="#DDDDDD" style="font: bold 12px arial, helvetica, sans-serif; color: #ffffff; text-align: center;"> </td>
</tr>
<tr>
<td>
<div style="font: 11px arial, helvetica, sans-serif; color: #000000; text-align: left; margin-left: 10px; margin-right: 10px; margin-bottom: 5px; margin-top: 5px;">
<p><br />
<br />
<br />
</p>
</div> </td>
</tr>
</table>
<p> </p></td>
<td style="background-color: #000000; width: 2px;"><img src="images/pixel_black.gif" width="2" height="10" /></td>
<td bordercolor="#FFFFFF" bgcolor="#FFFFFF" style="background-color: #ffffff; width: 610px;">
<div style="margin-left: 20px; margin-right: 20px; margin-bottom: 20px; margin-top: 5px;">
<table width="100%" border="0" cellspacing="2" cellpadding="2">
<tr>
<td height="285" align="left" valign="top"><p><font face="Arial" color="#990000"><span style="font-size: 16px; font-weight: 700">Episcopal Services Data Files</span></font></p>
<p><font face="Arial" color="#990000"><span style="font-size: 16px; font-weight: 700"><br />
</span></font>
</p>
<br />
<%
While ((Repeat1__numRows <> 0) AND (NOT rs_Results.EOF))
%>
<table border="0" cellpadding="1" cellspacing="1">
<tr>
<td width="132" height="27" bgcolor="#DDDDDD"><div align="center"><strong>Department</strong></div></td>
<td width="371" bgcolor="#DDDDDD"><%=(rs_Results.Fields.Item("Department").Value)%></td>
</tr>
<tr>
<td height="22"><div align="center"><strong>Subpage Title</strong></div></td>
<td><%=(rs_Results.Fields.Item("SubpageTitle").Value)%></td>
</tr>
<tr>
<td height="26" bgcolor="#DDDDDD"><div align="center"><strong>Link Description</strong></div></td>
<td bgcolor="#DDDDDD"><%=(rs_Results.Fields.Item("LinkDescription").Value)%></td>
</tr>
<tr>
<td height="25"><div align="center"><strong>Date Last Modified</strong></div></td>
<td><%=(rs_Results.Fields.Item("DateLastModified").Value)%></td>
</tr>
<tr>
<td height="26" bgcolor="#DDDDDD"><div align="center"><strong>URL</strong></div></td>
<td bgcolor="#DDDDDD"><%=(rs_Results.Fields.Item("URL").Value)%></td>
</tr>
</table>
<br />
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
rs_Results.MoveNext()
Wend
%>
<%
rs_Results.Close()
Set rs_Results = Nothing
%>Please ignore my first post, it isn't right.
I am new at this, although I did figure out the tutorial it still isn't what I am wanting. I am going to send an example page of want I my page to look like when I said page numbering (I don't want first,prev,next, or last). I want numbers like the results you will get from this page. http://www.gcfa.org/Department_Resources.aspx Can I do this with ASP?
If so so can someone please show me how? Thanks in advance. Maybe I have the right question this time. -
Problem with getting Dreamweaver CC to support ASP and ASPX
My company and our developers have been using Dreamweaver for more than 10 years and over that time have used DW to build an ASP and SQL server based system with a code base of over 200 programs and literally thousands of web pages in many, many currently active business websites. We subscribed to Creative Cloud upon upgrading our workstations to Wondows 8 but found to our consternation that DW CC does not support ASP or ASP.NET. We have followed instructions provided in this forum in June and attempted to edit the Extensions file to include ASP and ASPX, but either DW or Windows 8 refuses to allow the change to be saved, even with have Administrator access. What can we do now, apart from cancel our CC subscriptions?
Thanks Nithya.MV for your earlier response.
We have now found a solution at http://helpx.adobe.com/dreamweaver/kb/change-add-recognized-file-extensions.html which applies to Dreamweaver CS6 but can be adapted to DW CC. The solution was:
1. Go to C\Users\username\AppData\Roaming\Adobe\Dreamweaver CC\en_US\Configuration\Extensions.txt
2. Open the file in say NotePad (visit Preferences first to turn off Read Only if necessary).
3. Add ASP, ASPX, to the front of the list of extensions in the first line.
4. Save the Extensions.txt file (then resent the file to Real Only in Preferences)
5. Close Dreamweaver CC if it's open.
6. (Re)start Dreamweaver CC and open the required .asp or .aspx file.
This worked a treat.
Unfortunately all the other intructions provided on the Support Forum had us looking in the wrong place at:
C\Program files (x86)\Adobe\Adobe Dreamweaver CC\configuration\Extensions.txt -
Vbscript / asp and DATEs in recordset query
I've been using dreamweaver for about 5 years now, and its all be mostly vbscript - classic asp based stuff.... mostly small scale stuff using MS Access db as backend datasource.
i've always had issues with using the recordset building dialogue window/box under server behaviors in terms of building a query using the 'advanced' tab/option and having a date field from my database (formatted like mm/dd/yyyy) used in the filtering of records... the text based queries are all a cinch and very easy to do, but for dates I always run into issues.
right now im simply trying to make sure all the returned records are AFTER the 'current date' - date() ...
and dw cs5 has this line added for the default value: RS_Events_cmd.Parameters.Append RS_Events_cmd.CreateParameter("param3", 135, 1, 1, RS_Events__MMColParam3) ' adDBTimeStamp
in my query im asking And EventDate > ? ---- basically, where the date of the record in the database is GREATER than or AFTER the current date or a user-defined variable for the date... the default is the current date though.
something tells me the problem is probably related to the 135,1,1 area of that string, but i dont know what to try... i've tried changing the last 1 to -1 and 0 but still same error "Application uses a value of the wrong type for the current operation." and it cites that same line of code i just mentioned.
i might add the database has the date field formatted correctly and im able to use hand-written code to query it just fine, but i know there has to be a way for dw to handle it so my code isnt 'tacked' on and making a mess of the dw routines.
anyone familiar with any of these issues as relates specifically to vbscript / asp and the use of date() in dw recordset queries?Hi,
<i>I need to use a date to calculate a key figure.</i>
Here you will use the formula variable with replacement path.
<i> Can I filter these null values at the query level.</i>
Yes, it is possible in query level.
For example, in the formula :
(0calday = '')* (do what ever you wan to do in case date is null) + (NOT (0calday = ''))* (do what ever you wan to do in case date is not null)
With rgds,
Anil Kumar Sharma .P -
I just bought a Mac. I am developing with asp. Is there any
server that can run the asp pages on the mac. If not what are my
alternatives. thanks for your helpRSXDriver wrote:
> is php easy to learn. I watched a bunch of tutorials on
asp and spent a lot of
> time on it. I know i could load windows on my mac, but I
really dont want to.
> what kind of database software is available for mac? I
guess SQL cannot be used
> because it is microsoft? what like access? Sorry for all
of the questions, its
> like I have to learn all over again. But the mac is
definitly worth it!
I think PHP is easy to learn. I started with ASP, but ran
into so many
problems that I switched to PHP after about a year and never
looked
back. The fundamental principles are the same: use of
variables,
functions, strings, arrays, conditional control structures
(if, if...
else, switch). So you should find the change quite
straightforward. Yes,
things are different, but the underlying principles are the
same.
The main database used with PHP is MySQL. The basic SQL
syntax is the
same - it's an international standard. The two big
differences are that
MySQL is a Ferrari in comparison to Access's Ford, but it
doesn't come
with a glossy interface like Access. However, there are
several useful
front-end interfaces to MySQL, such as the free phpMyAdmin,
which most
hosting companies provide as standard with a PHP/MySQL setup.
ASP is obsolescent - Microsoft stopped development in favour
of ASP.NET
several years ago. PHP and MySQL are in much wider use than
classic ASP.
I would say that the real competition is now between ASP.NET
and PHP.
You can't use ASP.NET on a Mac, so PHP seems the obvious
route to go
unless you're prepared to switch back to Windows.
David Powers, Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/ -
I've installed CS6 and web Premium on a Mac running 10.9.5, and Dreamweaver,Flash and Illustrator wont launch. All other components work normally. In Activity monitor it says Adobe switchboard failed to respond. Can anyone help solve this issue?
Release: 4/25/2012
http://support.amd.com/us/gpudownload/windows/Pages/radeonmob_win7-64.aspx -
Trying to simply connect to Oracle with VBscript/ASP - and I cannot.
This is rather embarrassing. I am pretty fluent with ASP and VBscript, and I have written many a web application connecting to Microsoft SQL Server. Now I have a need to connect to an Oracle database, and I'm beating my head against the wall.
1) Web server is Windows Server 2003 SP1
2) Using ASP (not ASP.NET) & VBscript
3) I have installed the Oracle drivers on the server - it is version 10g
4) The administrator of the Oracle database to which I want to connect has created a username and password for me to use from within my code
5) Here is the code I am trying to run:
Set objConn = Server.CreateObject("ADODB.Connection")
objConn.Open "Provider=MSDAORA;Data Source=XXXXXXX;User Id=YYYYYYY;Password=ZZZZZZZ;"
That's it. 2 lines of code just trying to establish a connection. Using the user name and password provided to me by the administrator, and for Data Source I am using the IP address of the Oracle server (like I have done in the past when connecting to SQL Server). I receive the following error message when viewing this in a browser:
Microsoft OLE DB Provider for Oracle error '80004005'
ORA-12154: TNS:could not resolve the connect identifier specified
Evidently, the Data Source I am using is not correct, but I was provided no other information from the admin. This is the first time any of us have tried to connect to Oracle using ASP/VBScript, so the administrator isn't sure what I need to do ... any help would be so appreciated.Hello,
I got mine to work by setting up an ODBC System DSN and connecting to it. I think this bypasses the Microsoft driver, which might be what's causing the problem.
Set Db = Server.CreateObject("ADODB.Connection")
Db.Open "DSN=TEST;User ID=userid;Password=password;"
Good luck, I've found it requires a lot of persistence...
Al
Springfield, MO -
Windows XP SP3 and Dreamweaver 8.0.2 - "Error"
Windows XP SP3 and Dreamweaver 8.0.2
I am recently receiving this error message whenever I open a file -
"The following translators were not loaded due to errors:
ColdFusion.htm: has configuration information that is invalid.
JSP.htm: has configuration information that is invalid."
Really big problem;
I have lost ALL my disc so I can not do a clean install of anything!
Any help would be greatly appreciated.Try clearing your program cache...
http://forums.adobe.com/thread/494811
If that doesn't help, try restoring the preferences...
http://helpx.adobe.com/dreamweaver/kb/restore-preferences-dreamweaver-cs4-cs5.html
If you still have the activation number, you can try reinstalling a clean version available here (make sure you are logged into Adobe):
https://www.adobe.com/cfusion/entitlement/index.cfm?e=cs2_downloads -
Can't download photoshop and dreamweaver in cloud. Says Installed, but I don't have it
So a while ago I was using the trial version of photoshop and dreamweaver. I decided to pay for cloud to access these programs but I uninstalled the programs first. Now when I click the download I can't install either one because it says installed next to the image.
I had asked someone on the website through the chat if I would have this exact problem and they told me so long as I purchased the product i would not have the issue. I didn't want to purchase if I was going to have the problem, but I'm having it
I needed this program tonight so I'm considering just cancellingHi JessyaDoucett,
I would first double-check that you actually uninstalled them, usually the Adobe Application Manager checks the system to see what is currently installed, if Photoshop and Dreamweaver didn't actually get uninstalled that would explain what you are seeing.
Don't uninstall, rather check if these products are listed here
on Mac OS
1. Double-click your hard drive.
2. Go to Applications > Utilities > Adobe Installers.
on Windows
1. Click Start > Control Panel.
2. Click Programs and Features.
If they didn't actually get uninstalled you should be able to convert the existing installations to be included as part of your Creative Cloud Membership using this workflow
http://helpx.adobe.com/creative-cloud/kb/convert-cs6-licensed-under-ccm.html
If they were uninstalled but something went wrong you might need to install again from the trial or use the Adobe Cleaner tool as next steps
http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html
You can launch Adobe Application Manager from
Applications Folder on Mac or the Start Menu on Windows to reinstall when you're ready
-Dave -
I am retired. In my active years, I purchased Adobe Creative Suite 4 Design Standard and Dreamweaver CS5 for my Windows environment. I recently spent a fortune to migrate to Apple. I now (and a bite late) realize that my licenses are not recognized by Adobe. I am desperate. I cannot afford the expense of buying or paying access to the software and, still, I need the tools for all those little things I do for enjoyment. What can be done?
The licenses are operating system specific, so one option would be to retain use of the Windows machine you had before the Mac.
If you want to try to use the older stuff on your new Mac you can try installing Windows emulation software such as Bootcamp. -
in dreamweaver mx 2004 and dreamweaver cs4, how I configure, when download/upload do not ask me to include DEPENDED FILES but act without including ?
Open the Preferences panel (Edit menu on Windows, Dreamweaver menu on a Mac), and select the Site category. There are two checkboxes there for dependent files. Make sure both are selected. The Dreamweaver default is NOT to upload/download dependent files. You need to click Yes, if you want the dependent files to be included.
-
Spotlight/Finder Doesn't Search In ASP and other file types?
.asp and .c file types are nothing more than .txt files with different extentions..
Am I correct in thinking that Spotlight doesn't search inside these files? I have a folder full of asp files and spotlight doesn't seem to find anything when I type text that I know is inside one (as a test)
It does appear to search INSIDE .html files in the same folder.. Can you add different file extentions that spotlight will search into?
If not, then "Spotlight" is much ado about nothing as google desktop search, X1 and the msn desktop search (Windows) released years ago search inside ALL files..
Signed,
Curious Switcher
Wayne Bienek
Mac Pro 3Ghz / 4GB Ram Mac OS X (10.4.8) 30" Cinema Display + 20 " Cinema DisplaySpotlight makes a content index for files using mdimporter, and that process depends on mdimporter modules for the specific file type. Thus in /Library/Spotlight you will see a collection, such as Microsoft Office.mdimporter, of "extras" for special file types. There are also the built-in ones in /System/Library/Spotlight. If you installed Xcode/Developer Tools, there should be a SourceCode.mdimporter, which I imagine would index the asp and c files. If not, some people have modified it to also index php files, see this discussion:
http://www.macosxhints.com/article.php?story=20050514182520714&query=spotlight%2 Bphp%2Bfiles
at MacOSXHints. I think you could do something similar (at your own risk of course) for other pure text based files. Be sure to expand the the replies and read them.
Francine
Francine
Schwieder -
Illustrator and Dreamweaver CC
Good Night
I have the programs of the creative cloud CC, only when I go to open Illustrator and Dreamweaver says: Adobe Illustrator stopped working. Enable the Verdana font and restart Illustrator or Dreamweaver. When I return activate the verdana font programs open normally, but if you turn on the computer it returns the message.
Can anyone help me please?
Message was edited by: vitorhugoleitesilvaUse the builtin FontBook to activate the required fonts. As Monica says, make sure that they are the TTF versions.
-
How to make connection between ASP and Oracle 8i
Dear Helper,
I have a problem about how to make the connection between ASP and
Oracle 8i. If you have this idea, please help me to solve this
problem. Thank You!!!
nullYou must install Oracle Objects for OLE.
After this in asp-script you may use following instructions
1)initialization
<%
Set Session("OraSession") =server.CreateObject
("OracleInProcServer.XOraSession")
set Session("OraData") = Session("OraSession").OpenDatabase
("service", "scott/tiger",0)
%>
2)open Dynaset
<%
Set EmpDynaset = Session("OraData").CreateDynaset("select 1 as
f1, 2 as f2 from dual", 0)
%>
3)navigation
<%EmpDynaset.MoveFirst%>
<%EmpDynaset.MoveNext%>
<%EmpDynaset.EOF%>
4) Field access
<%=EmpDynaset.Fields(1).value%>
5) Sql execute
Session("OraData").ExecuteSQL("delete xxx")
Best regards.
null
Maybe you are looking for
-
Hi, Is there a way to shift select multiple objects in layer palette, not just highlight multiple objects? I would want to do this when I have a bunch of objects hidden under some other objects on the artboard. This feature is available in PSD, so I
-
I have my iTunes music folder stored on an external hard drive. I recently purchases a new Mac. After attaching the external hard drive, all songs imported without a problem except my playlists. Any clue about where they are or how to revive them
-
10g performance issue + RAC
Hi, we are running oracle e-business suite 111 with 10g database and RAC. Please let us know what can be tuned, following is a AWR report statistics: Snap Id Snap Time Sessions Cursors/Session Begin Snap: 2904 20-Jan-09 08:30:17 362 55.3 End Snap: 29
-
Infuriatingly after updating to iOS on my iPad 2 I can no longer install any apps or update any either. The upgrade went fine on my iPhone, but on my iPad any new or updated app just gives a "waiting" message. Waiting for what? &*&^%$# Godot? I have
-
RSS feed of new Publisher Content
Hello, A client has requested we create an RSS feed of new portlet content. They want to be able to view all new content via an RSS feed on IE7. Has anyone made something like this? Suggestions or thoughts? Using Portal 6.1.2, Publisher 6.5 Thanks, V