This topic is locked

Fields name when export to WORD

6/9/2008 7:12:40 PM
ASPRunnerPro General questions
Y
yairilan author

Hi,

When I export any record from any table to Word or Excel - the fields' names on the top of the columns are those from the DB and not from the Lables.

How can I control it?
P.S : In the same applicasion based on ACCESS it works well and the lables are shown - is it relevant ?
Tx very much,

Yair.

Y
yairilan author 6/9/2008

Sorry all,

I found the answer in the forum:

TOPIK
BUT - You need to change this line for Word:

else

foreach Fields as @f filter @f.bExportPage order @f.nExportPageOrder##

response.Write "<td>##@f.strLabel s##</td>"

endfor##

end if


Tx,

Yair