>in report designer >can we define a function or do prg file in format column ?
You can access programs and methods directly from the report writer as long as they are in scope. For example, in the expression field you can do something like MyFunction(xyz) and whatever MyFunction returns will be the value of that report object. You just have to make sure that MyFunction is somewhere that can be found.
Cathy Pountney, Microsoft Visual FoxPro MVP Memorial Business Systems, Inc. (www.mbs-intl.com)