>hi all,
>
>how i can change all titles or headers for my forms and reprorts.
>
>as if a company name is "TEL.COMPANY", i can see this name for every form and report , if i want to change this name to any name via change this label or text. as one time .
>
>THANKS.
M.
Do you mean the caption that appears on the form's title bar? If so, you could call each form with a parameter, say tcCompanyName,
e.g.
Do form MyForm with "Jordan Acme Co."
and, in the .Init() of the form, issue:
Thisform.caption = thisform.caption + " - " + tcCompanyName
So, if the caption of your form was, say, "Employee Form" it would become "Employee Form - Jordan Acme Co."
HTH
Terry
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.