Insert a Text Box with a Scroll Bar on Sales Order Header

BeatriceBeatrice Member Posts: 346
Hi,

Can anyone provide a hint on the above?

A customer wants to record the delivery plan when entering a sales order.

We have created a new Tab on the Sales Order Header known as Location Plan. But we have inserted three lines for the Location Plan.

The customer wants to have a single Textbox with a scrollbar to note the delivery plan.

Please advise.

Regards,
Beatrice.

Comments

  • BeliasBelias Member Posts: 2,998
    sorry,but I don't think u can...
    but try to leave the form as is and set MaxLength = [number you want] and autoenter = yes
    (be sure to set the right nextcontrol)
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • kinekine Member Posts: 12,562
    NAV have no multiline controls (uhm... ok, have but it is not good and nice...). Try to solve it in another way.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • SavatageSavatage Member Posts: 7,142
    What's wrong with using the sales order comments.
    you can record everything and anything you want
    Wouldn't that work?
  • nitindabasnitindabas Member Posts: 4
    Hi,

    You may set "MultiLine" property of the text box to "YES". Along with this set "VertAlign" property to "Top".

    Now increase the height of the text box equivalant to three or more lines.

    Above will let you enter the long text upto 250 char in the text box and will let you view the value in multiple line however scroll bar will not be shown.

    I hope this will help you....

    Thanks,
    Nitin Dabas

    NIDA Technologies (P) Ltd.
    New Delhi, India
  • kinekine Member Posts: 12,562
    But when edit mode, the text will be shown in one line...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • nitindabasnitindabas Member Posts: 4
    Yes thats true. I dont think there is any other way out.
    Nitin Dabas

    NIDA Technologies (P) Ltd.
    New Delhi, India
  • awarnawarn Member Posts: 261
    Maybe I am not understanding, but if 'Location Plan' is a separate table, why not use a subform, and make the subform only as tall (height) as to display only one record (990), and make sure it does not stretch.

    Does that make sense? I don't see that it makes sense for the user but if that is what they want then it seems to work for me...

    -awarn
  • BeliasBelias Member Posts: 2,998
    try to leave the form as is and set MaxLength = [number you want] and autoenter = yes
    (be sure to set the right nextcontrol)

    then...look at this creative solution (it's a bit :shock: )
    do the things i wrote in the quote, then put txtboxes one under the other with 0pt space between each others...then toggle the borders and draw a rectangle shape around the group of textboxes...you can also put another unfocusable txtbox in background to have a border similar to the one of the other textboxes...it's a pain to work with width, height, xpos and ypos...but i think it can work!

    p.s.: never used, it's only the strangest solution i have thought.... :mrgreen:
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
Sign In or Register to comment.