locked
Adding Records using Down arrow key RRS feed

  • Question

  • I have a table in my app

    The user wants to be able to press the down arrow key and if it is the last record in the table, 

    should add a new record to the table.

    Any ideas 

    I am using Vb.net


    Regards Ismail

    Thursday, August 16, 2012 6:37 AM

Answers

  • You could do it in the forms keydown event, and check which key was pressed, and if it was the down key and last record then add your record

    'psuedo code

    ' keydown event

              'If key = key.down

                     'If last record

                             'add record to table


    If you want something you've never had, you need to do something you've never done.


    Thursday, August 16, 2012 6:44 AM