Is Right alignment possible by CAL code

ramyavenkatramyavenkat Member Posts: 94
In CAL code,is there any syntax for right alignment of a field.

Using file transfer(ie,outstream & instream) from navsion to notepad we are transffering the datas.

In that Amount feild, I want to right align it in notepad, so is there any syntax in CAL code to align.

Comments

  • kinekine Member Posts: 12,562
    Try this:
    while STRLEN(Text)<Length do
      Text := ' ' + Text;
    

    Text is text variable you want align, Length is integer variable with no. of chars you want align to.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.