hi,
i want to query a ms access database from a vb program, im using MS Visual Basic 6.
Idealy i want to end up with the database file and an exe.
The database is called dbPartsList.mdb and contains one table (tblPartsList)
i have created a text box and two lables on the vb form (txtInput, lblDesciption and lblPrice1)
when the user enters a part number into txtInput and hits cmdSearch, i want it to search the PartNumber column of tblPartsList and output the part description and price found in the columns Description and Price1 respectivley, into lblDescription and lblPrice1
Ive had a few attempts at this after reading through some of the FAQ on this site but with no success, i cant even load the database that alone search it, any code snippits would be very helpfull, many thanks
i want to query a ms access database from a vb program, im using MS Visual Basic 6.
Idealy i want to end up with the database file and an exe.
The database is called dbPartsList.mdb and contains one table (tblPartsList)
i have created a text box and two lables on the vb form (txtInput, lblDesciption and lblPrice1)
when the user enters a part number into txtInput and hits cmdSearch, i want it to search the PartNumber column of tblPartsList and output the part description and price found in the columns Description and Price1 respectivley, into lblDescription and lblPrice1
Ive had a few attempts at this after reading through some of the FAQ on this site but with no success, i cant even load the database that alone search it, any code snippits would be very helpfull, many thanks