Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Macro substitution on a report

Status
Not open for further replies.

roselover

Programmer
Mar 27, 2003
11
US
I have a table in which the field names will be variable. I need to make a report off this table. On the page header, I can successfully create the title for the column by making a label referencing field(3).

However, in the detail of the report I need the contents of field(3) to show, not the name. I've tried &field(3), but it doesn't like the syntax.

Does anyone know how I can accomplish this?

Thanks
 
Code:
EVALUATE(Field(3))

Borislav Borissov
VFP9 SP1, SQL Server 2000/2005.
MVP VFP
 
That's wonderful! Thank you so much for the quick response!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top