Unfortunately neither way works. Tried the lambda function and added the hardwareTab class as an argument in the enterNewHardware function but still unable to reference the textbox variables in the SQL statement. Same deal when placing the enterNewHardware() function under the hardwareTab class. The app runs with the code both ways but when you click the Enter New Hardware button it spins for a second and then just closes out with no error messages.
Damnit what am I missing. I feel like I have tried every way possible. The syntax for calling the textbox variables in the SQL statement isn't incorrect is it? The instances of the textbox variables stays grayed out as if they aren't being called at all in the SQL statement.
Damnit what am I missing. I feel like I have tried every way possible. The syntax for calling the textbox variables in the SQL statement isn't incorrect is it? The instances of the textbox variables stays grayed out as if they aren't being called at all in the SQL statement.