|
-
Oct 20th, 2007, 07:54 AM
#1
Thread Starter
Fanatic Member
Help me here please... printing doesn't honor Filtering code...
here is my code it's work fine but it doesn't filter the data...
Private Sub GetRecords()
'Dim da As OleDbDataAdapter
da = New OleDbDataAdapter("Select * from FinalCustItemRSO where RSONO=" & _cboPrintRsoNo.Text & "", cn)
da.Fill(ds, "FinalCustItemRSO")
End Sub
how could i filter on it..?
-
Oct 20th, 2007, 11:08 AM
#2
Re: Help me here please... printing doesn't honor Filtering code...
Your missing the single-quotes around cboPrintRsoNo. Why the underscore in front of cboPrintRsoNo.Text?
Try this
Code:
da = New OleDbDataAdapter("Select * from FinalCustItemRSO where RSONO='" & cboPrintRsoNo.Text & "'", cn)
-
Oct 22nd, 2007, 04:13 AM
#3
Thread Starter
Fanatic Member
Re: Help me here please... printing doesn't honor Filtering code...
still not work... it's not honoring the code... i tried it what you said..
anyway can you give me idea how to create crystal report because me I'm create and set the database fields upon creating the the crystal report...
i noticed that even if without the code it display the record
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|