Date Printing in Rectangular Boxes

GagandeepGagandeep Member Posts: 8
edited 2010-11-09 in NAV Three Tier
Hi,
I want to print date say 16/08/2010 in 8 rectangular boxes.
1st Box will have 1
2nd box will have 6
3rd box will have 0
4th box will have 8
5th box will have 2
6th box will have 0
7th box will have 1
8th box will have 0

Can some one let me know, how to write the code with different required variable to print any date in specified rectangular boxes on Check? This, I need for check printing.

Regards,
Gagan

Answers

  • SavatageSavatage Member Posts: 7,142
    you could use format to get your date looking like 11072010
    then copystr to copy each number into it's own variable & then assign each variable to it's own textbox
  • GagandeepGagandeep Member Posts: 8
    Thanks Dear :D
  • BeliasBelias Member Posts: 2,998
    you can use copystr, or you can use

    mydatevariableastext[1]
    mydatevariableastext[2]
    mydatevariableastext[3]
    mydatevariableastext[4]

    etc...remember that each text variable (unless the text variable is declared as an array by the developer) is an array of text variables of lenght 1.
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
Sign In or Register to comment.