Hi all, I have a really annoying problem that I just cannot figure out..
My form have several textboxes including a JobNumberTextBox. When I type in a job number and press enter in this box all the other boxes populate with the details of that job number.
I have a type field in the table which is a combobox on my form. If the job is of type "1" then ALL the details load fine. However if the type is "2" then a couple of the boxes do not populate. If I press enter on the JobNoTextBox again the details are populated.
My form is designed to change depending on what they type is. For example if it type "1" then the Date box may be hidden etc.. and it seems that it is this ChangeScreen procedure that causes the problem even though all that does is hide/move/show boxes. It does nothing with the bindingsources or anything like that.
Does anyone have any ideas as to why this may be happening?
Thanks
John
.NET 2.0, Visual Studio 2005, SQL Server 2005 Express
My form have several textboxes including a JobNumberTextBox. When I type in a job number and press enter in this box all the other boxes populate with the details of that job number.
I have a type field in the table which is a combobox on my form. If the job is of type "1" then ALL the details load fine. However if the type is "2" then a couple of the boxes do not populate. If I press enter on the JobNoTextBox again the details are populated.
My form is designed to change depending on what they type is. For example if it type "1" then the Date box may be hidden etc.. and it seems that it is this ChangeScreen procedure that causes the problem even though all that does is hide/move/show boxes. It does nothing with the bindingsources or anything like that.
Does anyone have any ideas as to why this may be happening?
Thanks
John
.NET 2.0, Visual Studio 2005, SQL Server 2005 Express