Hi,
I have a general question. As a web developer I have primarily worked on PCs my entire life. While in school and on a few job assignments, I've had the opportunity to work on Macs - albeit too briefly. The last time I worked with a Mac was in 2000 and have always had a favorable...
Hi,
I have a query result, CustData. I would like to update 2 fields in the query result, Acct Access, and Current . Since I know the names of these fields, I know that sometimes they are populated and sometimes not. I want to loop through my query result, and say, "If I'm on this particular...
I originally posted this in the ColdFusion forum, but since its more of a SQL-related question - thought I'd post here.
------------
I have a query result set that was created with several joins. Here’s the abbreviated version:
<cfquery name="CustData" datasource="#request.dsn#">
SELECT...
I have a query result set that was created with several joins. Here’s the abbreviated version:
<cfquery name="CustData" datasource="#request.dsn#">
SELECT
….field list values here
FROM Customer pc
left join area a on pc.area = a.areaid
LEFT JOIN layout l ON pc.DefaultInvoiceLayID =...
I have the Macromedia DevNet CD that supposedly has Dreamweaver, Fireworks, Flash, FreeHand, Contribute, and Homesite 5.5 on it.
However, when I get ready to install, I don't see an option for Homesite specifically. I've installed it using this CD before, but can't remember steps taken.
Is...
Hi,
I have a query that returns my resultset in the Excel application. The only problem is every data element is put on another row instead of in another column of the same row for every currentrow.
<cfquery name="get_custs" datasource="customers" maxrows=20>
select
custid,
contactid...
Hi,
I used to know how to do this before I left CF for about a year.
Hope this is a simple question.
I have a query.
<cfquery name="get_cust" datasource="customers" maxrows=20>
select
custid,
contactid,
custname_contact,
firstname,
lastname,
type,
workphone,
address...
Hi,
I know I should probably pick up a book instead, but I thought I'd ask the community.
Has anyone every seen a query statement as the following:
<cfquery name="getDaily" datasource="#request.dsn#">
-- #SCRIPT_NAME# #session.username#
Select statement.....
</cfquery>
In my years of...
Hi,
Just a quick question. Has anyone taken the ColdFusion TeckCheck exam?
If so, could you provide some insight on the types of questions they focus on? Syntax? More logical?
I'm currently brushing up with my nose in a book, but just thought I'd take a chance that someone had taken it...
Hi,
I just installed an evaluation version of CFMX and Dreamweaver on my machine. I'm setting up a website to begin going through the tutorial and I have just setup my RDS. My website name is "ows" and I've already created a datasource in the Administrator as "ows".
Now when I'm in...
Hi,
I have been programming with CF for a while, and haven't seen anything like the following.
I have a registered domain name that was parked with registrar A. Meanwhile, I was searching for a web host that hosted CF and found them.
I pointed my information on registrar's A's site to point...
Hi,
I want to set a session variable that indicates whether a login was successful. I have the following in my login page:
if (Login's Successful){
s.setAttribute("loginStatus",false);
response.sendRedirect("loginInvalid.jsp");
}
else{
s.setAttribute("loginStatus",true)...
I have the following in a .jsp that's called from a form:
String myString = request.getParameter("formfield");
If the user doesn't enter anything in "formfield", it should be blank.
So how come when I say:
if (myString == "") //representing null
out.println("field is blank");
It...
Hi,
I have a form containing a select and three text fields that's defined as follows:
<form name="searchActForm">
.....
<select name="actdate" size="1" onchange="DisableDate();DisableName();">
<option selected value="" onchange="EnableDate();EnableName();">Please select</option>...
Here’s what I have:
Index.jsp
…..contains
function openWin()
{
wpiWindow = window.open
('http://servername/CustProj/displayform.cfm', 'newWindow','width=700,height=500,'+
'status=no,toolbar=yes,menubar=no,location=yes');
}
…..uses an include file (customer.html) that looks...
I’m not sure if this belongs on the JSP forum, the CFM forum, or HTML, but I’ll start here.
I have a JSP page that has an embedded HTML form:
Index.jsp:
<html>
<body>
…..embedded HTML form
<form name="CustEntry" method="post"...
Hi,
Does anyone know the simplest way to take a current date like now, and convert into a MM.DD.YY format?
I went out on the net and I've seen several Java docs for SimpleDateFormat, but not one good example.
I'd like to do it in a simple <%= ..... %> if possible.
Also, would I need to...
Hi,
Relatively new to Java. Can someone explain why I can't do the following? I have a function that grabs a database element called getCustId(). The function returns a double.
Here's what I want to say:
* Custdata is my database object.
HttpSession s = request.getSession()...
Hi,
Can't seem to find out why my compiler keeps saying I need to add a ';' in my .JSP
Here's the error message:
Generated servlet error:
[javac] Compiling 1 source file
C:\Tomcat 5.0\work\Catalina\localhost\pos-webapp\org\apache\jsp\loginProcess_jsp.java:110: ';' expected
^
1 error...
Hi,
I have Tomcat 4.1 installed. I need to update to version 5. Do I need to "uninstall" or can I install over the current version.
I'm concerned about losing my C:\Tomcat4.1\....\webapps. I've already saved the directory onto my hard drive though.
Thanks,
scripter73
Change Your...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.