liquidspaces
Well-known member
The user enters the ID in txtSearch.text. I then assigned the value of that entry to searchNum. At this point, I need to search the "ID" column in the database, and return the row where ID = searchNum. The information will then be displayed in the appropriate text boxes on the form.
My SQL statement is as follows:
Select * From Shipping Where ID = searchNum
But Im not exactly sure how to search. Ive tried a few different ideas and get errors each time. Can anybody offer a standard solution?
Thanks,
Kevin
My SQL statement is as follows:
Select * From Shipping Where ID = searchNum
But Im not exactly sure how to search. Ive tried a few different ideas and get errors each time. Can anybody offer a standard solution?
Thanks,
Kevin