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 25 June 2002, 06:05 PM
  #1  
super_si
Scooby Regular
Thread Starter
 
super_si's Avatar
 
Join Date: Feb 2002
Location: Lurkin Somewhere
Posts: 7,951
Likes: 0
Received 0 Likes on 0 Posts
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
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Abx
Subaru
22
09 January 2016 05:42 PM
PetrolHeadKid
Driving Dynamics
10
05 October 2015 05:19 PM
T.K
General Technical
10
02 October 2015 11:35 AM
the shreksta
Other Marques
26
01 October 2015 02:30 PM
minguela
Wheels And Tyres For Sale
0
29 September 2015 11:28 AM



Quick Reply: Vb problem



All times are GMT +1. The time now is 05:54 PM.