CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 How to reset pointer to database?

Print topic Send  topic

Author Message
CodeChargenewbie

Posts: 114
Posted: 03/25/2008, 9:58 AM

CodeCharge provides classes for talking to the database, with such functions as next_record() and close(). So, normally, I traverse through the result of a query using next_record(). Say my database query returns 10 records and I traverse through all 10 records. At this very point, is there a way I can reset the pointer to the first record (or any record of my choosing, for that matter) without querying the database again? It's stupid to query the database twice for the same request just reset its data pointer to the first row. There must be some way in Codecharge to reset the data pointer...

Important: I'm using PHP and codecharge 4.0 and the latest patch (0.04).

Thank you.
View profile  Send private message
wkempees


Posts: 1679
Posted: 03/25/2008, 4:41 PM

http://forums.codecharge.com/posts.php?post_id=95304
[continues here]
_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)

if you liked this info PAYPAL me: http://donate.consultair.eu
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.