In the body tag onload call a javascript function to achieve this.
<body onload="doFocus()">
<form name="frmName">
<input type="text" name="text1">
<script language="javaScript">
// start function doFocus
// this function get the focus of...
You need to loop query1 to get your results.
I am slightly modifying it. Try it.
<cfquery name="Query1" datasource="#Search#">
SELECT *
FROM UserDetails
</cfquery>
<!--- loop starts here ---->
<CFLOOP QUERY="Query1">
<CFQUERY NAME="Query2"...
You may use an application variable and set a value in default.cfm and check the value of the varaible at the beginning of each page.<br>Accordingly, you can fire a message and then <cfabort>
Hi Praveen,<br><br>You can <br>1. check from where you get the value for the variable #UserName# <br>2. check whether the value is not changed in the middle or<br>3. the variable is available till you use it.<br><br>The above may be of help to you.<br><br>Sriram K
The msdn link at Microsoft is a very good one to start with....<br><A HREF="http://msdn.microsoft.com/library/default.asp?URL=/library/psdk/xmlsdk/xmls6g53.htm" TARGET="_new">http://msdn.microsoft.com/library/default.asp?URL=/library/psdk/xmlsdk/xmls6g53.htm</A><br><br>Sriram K
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.