Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 20th, 2004, 09:05 AM
Authorized User
 
Join Date: Jun 2004
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Default help on strReverse

I notice that when looking at numbers from the database it works fine but with words it reversed all the letters. how can I fix that? Sorry for the misunderstanding but that field will be displaying only messages. Any ideas on how to fix it?

Thank you
Codes
strWip_Com = strReverse(objrs("Wip_Com"))


strSQL2 = "Select * FROM Escalation_Forms ORDER BY Wip_Com DESC;"

ObjConn.Execute(strSQL2)

'response.write strSql2
'response.end

Response.Write"<b>Department Feed Back: </b>" & strReverse(objrs.fields("Wip_Com")) &"<br><br><br>"




 
Old August 20th, 2004, 09:11 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

what is that you are trying to achieve? I am not sure if I understood your post right.

_________________________
- Vijay G
Strive for Perfection
 
Old September 16th, 2004, 01:01 PM
Authorized User
 
Join Date: Sep 2004
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

as happyGV said, the post is a little misunderdstood. If i am correct, you are trying to stop the data being reversed once it has been returned to the browser??? if so, just remove StrReverse from both variables, this will then display the data from the tbl... Remeber that StrReverse only works with strings, so thats prob the reason why the words are reversed and the numerical values are not.

DJWright





Similar Threads
Thread Thread Starter Forum Replies Last Post
strReverse function lpds VB.NET 2002/2003 Basics 3 October 23rd, 2007 07:37 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.