Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Current Version (Old)
 ASP code: database to lower case string
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

RDoGG™
Junior Member

USA
329 Posts

Posted - 04 July 2001 :  16:51:04  Show Profile  Visit RDoGG™'s Homepage  Send RDoGG™ an AOL message  Send RDoGG™ a Yahoo! Message
hi. does anyone have the ASP code snippet that lets you take info out of a database (rs("M_NAME")), put it into a string (strUserName), and convert it into lowercase.

????

TIA,

RDoGG™

RDoGG™
Junior Member

USA
329 Posts

Posted - 04 July 2001 :  16:56:52  Show Profile  Visit RDoGG™'s Homepage  Send RDoGG™ an AOL message  Send RDoGG™ a Yahoo! Message
*bump* (to top of topics list)

RDoGG™
Go to Top of Page

RDoGG™
Junior Member

USA
329 Posts

Posted - 04 July 2001 :  17:09:33  Show Profile  Visit RDoGG™'s Homepage  Send RDoGG™ an AOL message  Send RDoGG™ a Yahoo! Message
looks like i found it

(courtesy of ASP101.com):

<%=LCase(strTemp) %> is a VBScript function


<%
dim strUserName
strUserName = rs("M_Name")
strLCUserName = LCase(strUserName)
%>


i am pretty sure this is right.
can anyone back me up?

RDoGG™
Go to Top of Page

Doug G
Support Moderator

USA
6493 Posts

Posted - 04 July 2001 :  23:03:09  Show Profile
Yes LCase is the function in VBScript. You can find the complete language reference at msdn.microsoft.com/scripting

You can put the code on one line if you want.

sName = LCase(rs("M_NAME"))


======
Doug G
======
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.34 seconds. Powered By: Snitz Forums 2000 Version 3.4.07