i tried to decrease the width of voucher number but cannot do it. i checked tally.developer and got this declared value. still could not get it [Field: DSP VchNumberTitle] Use : Short Name Title Field Width : @@DSPNumberWidth - 2 Info : $$LocaleString:"Vch No." Align : Right
When you are referring to Default Tally's field......... then you should put # sign before the Field.
Nothing happening means you have not done any changes at all..... Your code above just echoes the default code of Tally........you have not made any change to the width at all............ BTW...you code is referencing only the TITLE field and not the Field itself.... you will have to make the Width changes to both Title Field as well as the Data Field.
i also tried to impliment with this code but something missing [#Field: DSP VchNumberTitle] Color:Blue Local:StyleEFAULT:Width : 2 [#Field: DSP VchNumber] Color:Blue Local:StyleEFAULT:Width : 2
If you are directly referencing the field, then there is no need to use ---- Local:style:default Also this will not work, because the width definition is being superceded by its definition in LINE level......... e.g. refer -- LINE : DSP VchTitle --> there you will find the width. Same way find the LINE of the Data Field and you will find the width....
amit sir i am beginner in coding and i tried as u said but fail [#Field: DSP VchNumberTitle] Color:Blue LineSP VchNumberTitle [LineSP VchNumberTitle ] Local : Field : Name Field :Width : 2 [#Field: DSP VchNumber] Color:Blue LineSP VchNumber [LineSP VchNumber ] Local : Field : Name Field :Width : 2
[#Line : DSP VchTitle] Local : field : DSP VchNumberTitle : Width : 2 Same way do for Data field..... i.e. DSP VchNumber Keep in mind ..... this will affect many other reports also, as this is a generic field.