CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 Accessing internal variables

Print topic Send  topic

Author Message
Darren Hall
Posted: 05/17/2002, 10:12 AM

Hi all,

I would love to be able to access the internal variable RecordsCount so that
I display the number of results without having to requery. Failing that is
it possible to access CountSQL which I can see holds the SQL necessary for
such a query.

The first option would obviously be the best!! Anyone know how to get it?

Thanks,

Darren.



Alexey Alexapolsky
Posted: 05/21/2002, 12:50 AM

Let us consider forum example / default php page,
if you add

echo "<hr>Count:" . $messages->ds->RecordsCount;

to the code window after recordset was open , e.g
after $messages->Show();

You will see

Count:13

May be I am wrong and you will see a different number ;-)




--
Alex
CodeCharge Developer


"Darren Hall" <daz_hall@yahoo.com> wrote in message
news:ac3dm5$kqv$2@news.codecharge.com...
> Hi all,
>
> I would love to be able to access the internal variable RecordsCount so
that
> I display the number of results without having to requery. Failing that
is
> it possible to access CountSQL which I can see holds the SQL necessary for
> such a query.
>
> The first option would obviously be the best!! Anyone know how to get it?
>
> Thanks,
>
> Darren.
>
>
>
>


   


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

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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