form captions

Hi:

What is the equivalent of “set column headers” in a form?..I need to change the field captions without using a field factory…the form is binded to an sql container…

regards,

Hugo

You’ll probably need to use a field factory for this (unless changing the captions one by one afterwards by getting the fields with getField(id)), but you could write a generic field factory for this rather than implementing it from scratch for every form.

Hi Henri, thank you for your answer…

I already use field factories for every form i have…can i use a second field factory for this?..

regards,

Hugo

Each form can only use a single field factory.

You could write a base class for all your field factories that helps you do this, and maybe also groups some of the other common functionality of those field factories.

thanks Henri