|
| |
|
|
dschmuecker
Posts: 158 Joined: 10/27/2003 Status: offline
|
Quick asp insert question - 6/6/2007 17:35:25
fp_sQry="SELECT distinct [nameinput] as user_name ,right([nameinput],5) as email,sport FROM student order by sport asc" user_name uses the last 5 characters of the nameinput field. Is there a way that it uses five characters from the the fourth or fifth character over from the left or right. Fred Flintstone
|
|
|
|
BeTheBall
Posts: 6385 Joined: 6/21/2002 From: West Point Utah USA Status: offline
|
RE: Quick asp insert question - 6/6/2007 18:37:58
Look into the Mid function instead of Right.
_____________________________
Duane Some people are like Slinkies . . . Not really good for anything . . . . . But they still bring a smile to your face when you push them down a flight of stairs.
|
|
|
|
dschmuecker
Posts: 158 Joined: 10/27/2003 Status: offline
|
RE: Quick asp insert question - 6/7/2007 4:28:57
Thanks. It works!! fp_sQry="SELECT distinct [nameinput] as user_name ,mid([nameinput],5,5) as email,sport FROM student order by sport asc"
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|