>>Dear Mr Cetin Basoz
>>
>>I try your method, I create a field on the report using report designer
>>which the expression is m.txtCompanynName. And I define the txtCompanyName
>>to LOCAL, but the result still cannot print out the company name which I assigned.
>
>The variable needs to be private, not local. Local is not visible in anything you call, which includes the report. Private, however, will be visible in the report.
Dragan,
local will do. No need for private
Gregory