Hi all
i want to change in my code the name of a datafield in a datareport to swap when it needs the showed data
Best regards
Hi all
i want to change in my code the name of a datafield in a datareport to swap when it needs the showed data
Best regards
assumesCode:rpt1.Sections("detail").Controls("txtpcntDisAs").DataField = rsresults.Fields("pcntDisAsIsSelected").Name
1) report object is named rpt1
2) textbox to hold data is named txtpcntDisAs and is in the "Details" (or whatever you named it) section of your report.