Clayton Donahue wrote:
Hi Jason,
Just stick the name of your table in, so that the line reads:
for each([Person]; $i)
Clayton,
Can you iterate over a selection with "for each"?
If so that is an awesome language addition and my recent advice about
rowsets may be overkill (even though working with them might be more
akin to Jason's OOP background).
Jason,
If the above works then you just reference field values as you would in 4D.
for each([Person]; $i)
write([Person]LastName)
end for each
Brad
Note that this is just Active4D syntax, and not 4D syntax. Check out
this 4D tech tip for doing it in native 4D code:
http://4d.com/knowledgebase?CaseID=30034
*** side-note: Have my last few posts gotten through? I've posted
twice with the subject line "multipart/form-data SNAFU." but haven't
seen the posts delivered. Has anyone seen them or are they out in the
ether somewhere?
Best Regards,
- Clayton
_______________________________________________
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/