CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge -> Programming

 [SOLVED]Accessing Grid entries in custom code?

Print topic Send  topic

Author Message
frdmgrp

Posts: 16
Posted: 05/04/2010, 9:34 AM

Trying to figure out how to loop through a grid and access one of the fields in custom code.

Basically have a grid with a bunch of customers and email ids, want to loop through, getting each email and send a mail to that address. Can't find in the documentation how to reference individual grid rows/fields.

Appreciate any guidance, thanks!

BTW, I am on 3.2.0.6
View profile  Send private message
mrachow


Posts: 509
Posted: 05/24/2010, 3:43 AM

Sorry for being that brief.

It's a while ago but I think Yes is using the field name while adding underscore line number (_<lineno>).
You should be able to find out having a look at the source code of a page containing a grid.
_________________
Best regards,
Michael
View profile  Send private message
frdmgrp

Posts: 16
Posted: 05/24/2010, 6:39 AM

Thanks for that, I'll try it.

I actually found another way around it, by creating a custom where for the grid in the beforebuildselect custom point where I could build the query for the first grid into the where clause for the second.

Thanks for the feedback!!!
View profile  Send private message
mamboBROWN


Posts: 1713
Posted: 05/24/2010, 5:04 PM

frdmgrp
If your issue has been solved please add [SOLVED] or [RESOLVED] to the thread title. Thanks.
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.

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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