Hi Andy
Thanks for your help. I've done what you told me and it works. However,
i'm still frustrated because i'm still stuck with this project. Pls help.
Is there any example. I really appreciate if anyone can help me. I've
tried to solve this for weeks but still fail.
Description
I would like to create a data entry form using vb.net. It is a
master-detail windows form which the upper section is the product
code(master) and the lower section is the part information (detail). The
lower section is make up of a datagrid. First column is the part code and
second column is part description. When user pressed the Enter key in the
part code column, it opens the Part code form for the user to choose the
part code. User can add as many part code as possible with the same
product code.
User is able to perform Add, Edit and Delete function on data entry form.
It is connected to ms sql database.
What I've tried
I've tried to create a windows control library with the following code
below. Then add the dll into the Toolbox. It is able to capture the Enter
key. However, there are problems which I faced.
a.. It captures Enter key in every column. e.g Part code column, Part
description column