
in my sreenshot it must print all what it is in in column1 which is:
aaa
bbb
ccc
DataReport6.Show
DataReport6.Sections("Section2").Controls("label1").Caption = DataGrid1.Columns(1)
plz help..
tnx..




Posted 21 February 2011 - 02:41 AM
Private Sub Command1_Click() Dim searchcon As New ADODB.Recordset searchcon.CursorLocation = adUseClient searchcon.Open "Select * from rotcgrades where ID_No ='" & search.Text & "'", con, adOpenForwardOnly, adLockOptimistic Set rptindividualstudent.DataSource = searchcon rptindividualstudent.Show Set searchcon = Nothing Unload Me End If End Sub
This post has been edited by macosxnerd101: 21 February 2011 - 08:51 AM
Reason for edit:: Please use code tags
|
|
Query failed: connection to localhost:3312 failed (errno=111, msg=Connection refused).
|
