Posts
 
Reputation
Joined
Last Seen
Ranked #903
Strength to Increase Rep
+1
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
5
Posts with Upvotes
4
Upvoting Members
4
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
3 Commented Posts
3 Endorsements
Ranked #486
~9K People Reached
Favorite Forums
Member Avatar for jeffersonalomia

i used do until loop dim rsStockChk as new adodb.recordset set rsStockChk = new adodb.recordset rsStockChk.open "stocks", gobjconn, adopendynamic, adlockpessimistic do untill rsStockChk.eof = true dim listobj as listitem set listobj = listview1.listitem.add(, , rsStockChk!item_code) listobj.subitems(1) = rsStockChk!Qty listobj.subitems(2) = rsStockChk!Discription rsStockChk.movenext loop adjust the code accourding to your need

Member Avatar for matoo
0
197
Member Avatar for matoo

HI everyone i am trying to write POS and Inventory for myself in vb6. I am stuck and gone blank what to do. here is what i want to do. search database for the stocks. change the caption of the button ( eg caption of the botton is "COKE 250ml" …

Member Avatar for matoo
0
247
Member Avatar for matoo

hi there everyone this sounds sily but i am trying to make a calendar which will show attendance on the calander what i want is to stop on the todays date txtbox txtboxes are arreys so the name is txtDay(0), txtDay(1), txtDay(2)........... txtDay(41) Dim strDate As String Dim strStartDate As …

Member Avatar for BitBlt
0
219
Member Avatar for matoo

Hi there Everyone I am writting a program POS in which i have employees database. they get a code or we can say employee ID numbers. 100001 100002 100003 now i want to keep the recourd attached with picture ID as well file names will be 100001.jpg 100002.jpg 100003.jpg as …

Member Avatar for matoo
0
270
Member Avatar for Sohail_4

or what you can do is use a timmer in Hidden Form when ever you lose focus of that hidden form the timmer becomes activated and then you can get back your focus on the hidden form and then you can use your key or combination of keys to unhide …

Member Avatar for Nutster
0
184
Member Avatar for Christian_4

Dim responce As Integer responce = MsgBox("Are you sure you want to Logout?", vbYesNo, "Confirmation") If reply = vbYes Then Unload Me frmAuthentication.Show else exit sub End If

Member Avatar for Nutster
0
465
Member Avatar for redleak

Dim gobjConn As ADODB.Connection Set gobjConn = New ADODB.Connection gobjConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" _ & "Data Source=" _ & GetAppPath _ & "path and filename.mdb" Dim rAdd As ADODB.Recordset Set rAdd = New ADODB.Recordset rAdd.Open "inventory", gobjConn, adOpenDynamic, adLockPessimistic now this is how you connect when connected you search the item which …

Member Avatar for hefaz
0
6K
Member Avatar for matoo

I am trying to write program in vb6.0, in which i am using ms access database. i want to search in a table called "customer". the Field is called "Name". in the feild i have saved full name e.g Asmat Ullah Khan, Asmat Khan, Asmat Ullah. now what i want …

Member Avatar for matoo
1
340
Member Avatar for Aziz_1

you can write a code in the lostfocus of that textbox to search that number which you entered in the database if found it give you message box telling you that the number or ID already exist and the textbox.setfocus to take you back to the same box.

Member Avatar for matoo
0
624
Member Avatar for Abu Thahir

i use my own auto number by this method first of all load the last entery then adding 1 in that entery eg Dim DBConn As ADODB.Connection Set DBConn = New ADODB.Connection DBConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" _ & "Data Source=" _ & GetAppPath _ & "anyname.mdb" Dim rSearch As ADODB.Recordset Set rSearch …

Member Avatar for matoo
0
404