Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Vb problem

Thread Tools
 
Search this Thread
 
Old Jun 25, 2002 | 06:05 PM
  #1  
super_si's Avatar
super_si
Thread Starter
Scooby Regular
 
Joined: Feb 2002
Posts: 7,951
Likes: 0
From: Lurkin Somewhere
Post

Right,

in a combo box ive loaded out the sap number eg 12345

When i select a sap number i want it to put to screen the other data releated to that Records set, how do i do it?
Private Sub cboSAP_Change()
Dim strConn As String
Set rsMatch = New ADODB.Recordset
strConn = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=C:\dad.mdb;"
dbConnection.Open strConn
rsMatch.Open "sapno"", strConn, adOpenKeyset, adLockOptimistic, adCmdTableDirect"
If cboSAP.Text = rsMatch!sap Then
txtcat.Text = rsMatch!ABCatNo
Else
End If

End Sub
what i did but failed
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Abx
Subaru
22
Jan 9, 2016 05:42 PM
PetrolHeadKid
Driving Dynamics
10
Oct 5, 2015 05:19 PM
T.K
General Technical
10
Oct 2, 2015 11:35 AM
the shreksta
Other Marques
26
Oct 1, 2015 02:30 PM
minguela
Wheels And Tyres For Sale
0
Sep 29, 2015 11:28 AM




All times are GMT +1. The time now is 12:44 PM.