|
|
 |
Re: FN-FORUM ASP code help
date posted 12th September 2002 16:48
Makes no difference either way.
This works
So it's the recordset.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Kathy
http://www.vendetta.co.uk
DNRC Minister for Useful but Irritating Information and Trivia
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
----- Original Message -----
From: "Tam Stone" [EMAIL REMOVED]
To: [EMAIL REMOVED]
Sent: Thursday, September 12, 2002 4:06 PM
Subject: Re: FN-FORUM ASP code help
> You don't need the '(' for response.write should read
>
> Response.Write "*" & len( trim( strAffiliateID)) & "*"
>
> which will give you *ID* as output
>
>
> >
> >Program code:
> >
> > >strAffiliateID = RecordSet.Fields("fldAffiliateID")
> >Response.Write( "*" & len( trim( strAffiliateID)) & "*")
> >Response.Write( "*" & strAffiliateID & "*")
> >
> >If len( trim( strAffiliateID)) = 0 Then
> > Response.Write( "None")
> >Else
> > Response.Write( strAffiliateID & "hello")
> >End If
> >%>
> >
> >
> >Output:
> >
> >****hello
> >
> >
> >
> >
> >
> >============================================================
> >= Advanced web hosting solutions from Saffas. =
> >= Unix, PHP, mySQL, SSL, Perl, Control Panel, 24/7 access. =
> >= Why pay more for less? http://www.saffas.com =
> >============================================================
> >
> >Sponsor the forum for as little as £1 at:
> >
> >http://www.freelancers.net/cgi/sponsor.cgi?action=show
> >
> >
> >Advertise with Freelancers.net +Additions+
> >
> >http://www.freelancers.net/advert.php
> >
> >
> >Freelancers and Freelance Jobs:
> >http://www.freelancers.net
> >
> >Forum FAQs:
> >http://freelancers.netrickery.com
> >
> >To unsubscribe please email:
> [EMAIL REMOVED]
> >
> >If you have difficulties unsubscribing please email:
> [EMAIL REMOVED]
> >
> >
>
>
>
> ============================================================
> = Advanced web hosting solutions from Saffas. =
> = Unix, PHP, mySQL, SSL, Perl, Control Panel, 24/7 access. =
> = Why pay more for less? http://www.saffas.com =
> ============================================================
>
> Sponsor the forum for as little as £1 at:
>
> http://www.freelancers.net/cgi/sponsor.cgi?action=show
>
>
> Advertise with Freelancers.net +Additions+
>
> http://www.freelancers.net/advert.php
>
>
> Freelancers and Freelance Jobs:
> http://www.freelancers.net
>
> Forum FAQs:
> http://freelancers.netrickery.com
>
> To unsubscribe please email:
> [EMAIL REMOVED]
>
> If you have difficulties unsubscribing please email:
> [EMAIL REMOVED]
>
|
 |
|