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 January 3rd, 2008, 05:50 PM
Friend of Wrox
 
Join Date: Jul 2003
Posts: 599
Thanks: 6
Thanked 3 Times in 3 Posts
Default

Hey,

You're welcome. I have a question if you don't mind.

If you put strstemp(3) into a variable does it also lose its value?

I actually remember having a similar problem dealing with boolean values and accessing the array values in a recordset but that was a long time ago and I don't remember the work around. I'm sure its something simple cause I'm a simple guy.



 
Old January 4th, 2008, 07:36 AM
Authorized User
 
Join Date: Dec 2007
Posts: 21
Thanks: 1
Thanked 0 Times in 0 Posts
Send a message via ICQ to vanik.cz
Default

If you assign value from recordset array to some variable, for example:
boolvalue=strstemp(3)

in unworkarounded (bool is last column in table) scenario the boolvalue has value and it works as a standart variable, but the strstemp is empty from now so if you have array like this:
strstemp(0)
strstemp(1)
strstemp(2)
strstemp(3)
strstemp(4)

and you have to read for example three:

boolvalue=strstemp(3)

you have value from strstemp(3) in boolvalue but values from:
strstemp(0)
strstemp(1)
strstemp(2)
strstemp(3)
strstemp(4)
will all disapear together.

JVV





Similar Threads
Thread Thread Starter Forum Replies Last Post
SSIS :: Reading from XML source into Recordset grrajoo BOOK: Professional SQL Server 2005 Integration Services ISBN: 0-7645-8435-9 1 January 12th, 2016 07:48 AM
values getting lost in button click sarah lee ASP.NET 1.0 and 1.1 Basics 8 December 11th, 2006 05:13 PM
Hard (recordset field) reading fskilnik Dreamweaver (all versions) 10 November 28th, 2005 06:05 PM
Reading Form values into PHP peteburford BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 1 August 20th, 2004 11:23 AM





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