I have a form that has 5 text boxes on it and 2 command buttons. One of the command buttons inserts data into the database and the other command button gets data from the database. I made a ms access database that has 6 fields(id, Ticket, UserID, Date, Time,
Description). I am able to connect to the database and insert data from the text boxes on my form but i am having problems getting the data from the database and displaying the information in text boxes located on my windows form. When i hit the "Get
Data" command button a input box comes so i can type in the ticket number "IN403256" to retrieve the data, but everytime i type one of the ticket numbers in the input box it says "No value given for one or more required parameters."
I want to be able to input a ticket number and bring up all the information that pertains to that unique ticket number and see the information from the database in the text boxes on the windows forms.
here is my code:
Private Sub btnRetrieve_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnRetrieve.Click
txtTicket.text = ""
View Complete Post