yelbuga
Posts: 7
|
| Posted: 02/07/2005, 2:13 AM |
|
hi,
i want to use this func.
in an editable grid.
depends on a row item value.
on before show event of this list item, i write the code but it shows all the items in table. (not row's)
pelase help..
|
 |
 |
Nicole
Posts: 586
|
| Posted: 02/07/2005, 2:49 AM |
|
Hello,
You didn’t describe why you want to re-create a listbox in each row but I suppose that you want to use different WHERE parameter of a listbox in different rows. In this case there’s no need to re-create a listbox, you just need to re-populate it using new WHERE. I provide a sample code for Before Show event of a listbox:
//create Where
$form_name->ListBox1->ds->Where= $New_Where;
//forse listbox to re-populate for each row
$form_name->ListBox1->Prepare();
_________________
Regards,
Nicole |
 |
 |
yelbuga
Posts: 7
|
| Posted: 02/10/2005, 6:03 AM |
|
thanks. that's working.
|
 |
 |
|