Can provide simple example for my refence.
(e.g: form1 datagrid1 and form2 text1.text,if i double click the data row in datagrid form1 then data will appear in form2 text1.text, i really no idea how to write.
your help is high appreciated.
Hi friends,if I double click the form1 datagrib the PLU,description and price will appear on form2 text1.text,text2.text and text3.text, how to write this code on dbgrib1.dblclick event ?
i connect my database using data control.
How to write the vb6 code to automatically generate the number into database?
Example i want store the number 955117000001 into my database table 'barcode', after i click the command button. if i click the command button again will store the next number 955117000002 into database table...
Thank you for your reply friends,Now when i run the program is no more error already,but Why my database still cannot in sequence number ? anything wrong ? where the GetNewBarcode write in ? (eg: command button,click event).
When I run got this error msg: compile error method or data member not found
My code is
'in a module
Public ADOCn As ADODB.Command
Public ConnString As String
Public adoRS As ADODB.Recordset
Public strBarCodeNo As String
Public Sub OpenDB()
ConnString = "Provider=Microsoft.Jet.OLEDB.4.0;" & _...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.