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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I modify the column format on a composite datawindow?

Status
Not open for further replies.

DaveHarbud

Programmer
Dec 29, 2014
1
0
0
GB
I have a datawindow in a trailer band for which I wish to change the number format.
I use the following command
ls_ret=dwchild.modify(collected.Format="#########0.00;[RED](#########0.00);#########0.00" unpaid.Format="#########0.00;[RED](#########0.00);#########0.00" ")

Ls_ret is returned empty, indicating success, but the format of the numbers displayed remains unchanged e,g. 1,234.56. I am using PB12.5.2 on Windows 8. I have heard a rumour that it is not possible to modify child datawindow column properties outside of the detail band - is this true? I have successfully changed fonts using similar syntax to the above in the trailer band, though this fails in the summary.

David

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top