>>Hi,
>>
>>I need to change the title of one of the reports so it has a different name for one customer. I can set up a "flag" to indicate that the program is being executed for this particular customer. But how do I change the title-caption in code? For example:
>>
>>"Customers with blablabla Report"
>>
>>would become:
>>
>>"Clients with blablabla Report"
>>
>>TIA
>
>Turn the title of the report into a field, instead of a label. The field contents would then be an expression, that is, "code", that you can assign as you see fit.
I am very sorry for confusing you and Tore with my kludgy description. What I refer to as the "report title" is actually the "caption/prompt" of a menu item of the VFP menu. And I set the menu items at design time. So I need to change the Prompt of the menu on-the-fly, in code.
Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham