Saturday, 4 July Click for 1st Class Secretarial Services Home Page Click for comprehensive listing of services offered by 1st Class Secretarial Services Click for the background and experience of 1st Class Click for client upload and download area Click to open contact page with enquiry form and telephone numbers Click for location map of 1st Class Secretarial Services

Links to other sites

Officinado
Directory Search Site

1st Class Media
New media web development and hosting company

 

Developers

As well as offering secretarial services, we at 1st Class also develop databases and associated scripts, some of which may be of some use to visitors who may wish to find some application or use for some of the snippets and code tutorials listed below.

Database scripts

none at present

ASP/Web Application Scripts (as featured in )

1. Swear word removal
This function when applied to a string will replace all occurences of the swear words (or email references if you choose) with the proposed change

2. Simple Alternate Row Colors
Many scripts use the Mod 2 function to replace row colors, way too complex! Try this simple snippet for size!

<Table>
<% ....While loop...
if rc="" or rc="#E2E2e2" then rc="#ffffff" else rc="#E2E2e2"
%>
<tr bgcolor="<%=rc%>">

3. Crop Sentence Function - does what claims to do, wrap it around the string of your choice and give it a length and any trailing characters, you're off!

<%
Function cropsen(strInput, numchars, trailer)
If Len(strInput) > numchars Then
cropsen = Mid(strInput, 1, numchars) &trailer
Else
cropsen = strInput
End If
End Function
%>

Typical Application
cropsen("yourstringinhere",35,"...cropped")
or for database data
cropsen(rs("DetailField"),35,"...cropped")

 


© 2009, 1st Class Secretarial Services. All rights reserved.
Home Page | About Us | Contact us | Links | Site Map | Terms of Use
Edinburgh web design