Options

Delete a line automatically in a table-type form

markyTmarkyT Member Posts: 120
Hi, I have a tabular-type form in which we insert inform in manual form. Sometimes people click ente enter or click your mouse and leaving under a blank line unreported. I'd like to know how I can prevent this. I guess I would need something like a control that deletes the line if one or more fields are not informet. Now, in OnQuerycloseform I have:

IF ("fieldndame" = '') THEN
DELETE;

This removes the lines that I've not informed, but it only do it if you are on the line, not any line . How I can do this?. Also I can think a kind of button to "insert" or something like that to prevent the pass line.
Thanks for help.

Comments

  • Options
    SavatageSavatage Member Posts: 7,142
    So really you don't want to delete a line automatically.

    It appears, if i'm reading correctly, you would like to prevent blank lines from being inserted?!
  • Options
    kinekine Member Posts: 12,562
    Or just enabling "Delayed insert" to not create lines when nothing is entered..
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • Options
    udayrmerudayrmer Member Posts: 171
    Also Set MultipleNewLines = False
    Uday Mer | MS Dynamics NAV Techno-Functional Consultant
  • Options
    markyTmarkyT Member Posts: 120
    It appears, if i'm reading correctly, you would like to prevent blank lines from being inserted?!

    Yes, that is.

    Or just enabling "Delayed insert" to not create lines when nothing is entered..
    Also Set MultipleNewLines = False

    Thanks for help. I'll try it.
Sign In or Register to comment.