Hi David,
maybe you could use a combination of array for the values and a loop
with "getPointer" to fill and read the checkboxes.
something like
for($i;1;size of(array))
get Pointer("cb"+String($i))->:=array{$i}
end for
I hope this helps
Norbert
Am 07.11.2006 um 13:54 schrieb David Wright:
Hi all,
I'm using WebSTAR V, 4D Server 2003.7 Release 2, and Active 4D v.
3.0.1b7, and all is well.
I would be interested to hear anyone's thoughts about the best way
to arrange complex web searches.
Typically, if I want to offer a web search facility that uses
related tables, or several criteria, then I will adopt the
following strategy:
1. Provide a form to gather the search criteria
2. Direct on to a process page which puts the criteria into session
items
3. Direct on to a results page which uses a library method to
search using the session contents.
This works fairly fast and allows me to keep a record of the
criteria for future use (for example displaying them in the search
form).
Now I need to set up another search, but this time the criteria
involved include about 25 different tickboxes. If I follow the same
method as above then I could create session items for each one that
is ticked and delete session items for those not ticked; or I could
have session items for all of them indicating whether ticked or
not. But it's getting to seem like a lot of messing about.
How does anyone else handle this type of thing?
Many thanks,
David Wright
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/