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
|
|
|
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 |
|
|
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!!!
|
|
|
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.
|
|
|
|