Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What does this mean ? 1

Status
Not open for further replies.

mimi2

Technical User
Joined
Apr 2, 2002
Messages
407
Location
CA
I am buffled by this script. I am new at this.
Thanks.
<CFIF Form.Name NEQ &quot;&quot;>
<!--- Access version --->
<CFIF Server.OS.Name CONTAINS &quot;Windows&quot;>
AND (strFName LIKE '%#Form.Name#%'
OR strLName LIKE '%#Form.Name#%'
OR strFName & ' ' & strLName LIKE '%#Form.Name#%')

<!--- dBase Version --->
<CFELSE>
AND (Upper(strFName) LIKE '%#UCase(Form.Name)#%'
OR Upper(strLName) LIKE '%#UCase(Form.Name)#%'
OR Upper(Trim(strFName)) + ' ' + Upper(Trim(strLName)) LIKE '%#UCase(Form.Name)#%')

</CFIF>
</CFIF>

<CFIF Form.strDptIDFK NEQ &quot;All&quot;>
AND strDptIDFK = '#Form.strDptIDFK#'
</CFIF>
 
this is a part of the code where author is determening the operating system of the host machine (Server.OS.Name CONTAINS &quot;Windows&quot;...) and based on that is executing the condinions of the SQL statement (e.g. quering the database)

<CFIF Form.Name NEQ &quot;&quot;> and <CFIF Form.strDptIDFK NEQ &quot;All&quot;> are conditional tags and variables containing form field values of the form preceding the template containing this code

Sylvano
dsylvano@hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top