General information
Category:
Reports & Report designer
Hi Matineau
dbgetprop('customer.invoice','field','comment')
should do the trick provided you have populated your field comments for the table concerned.
you could even write a simple wrapper for it as follows
param cFldname,lusedesc
lusedesc=iif(param()=1,.t.,lusedesc)
return iif(lusedesc,eval(cFldname),dbgetprop(cFldname,'field','comment'))
The second parameter will allow you to switch the function on or off using a variable you set before you run the report.
That way you can provide the client with a switch thats allows him to view the report both ways.
However you may find you need to use some long thin fields on some reports.
Hope this helps
>Hi
>I's it possibel to change tjhe field name in a repport with a description of it.
>Mi client can modify the reports and he wants to see a description of the field instade of is name.
>
>Is it possibel to do it
>
>Benoit
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only