Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DataView RowFilter Help

Status
Not open for further replies.

JoaoTL

Programmer
Jun 14, 2001
278
PT
Hello, i am having some problems to return Value from a control into a SQL string, in VB6 worked like above, now how can i do this?

Dim cmf As DataView = New DataView(ds.Tables("Fotos"))
cmf.Sort = "S_COD"
cmf.RowFilter = "S_COD='" & Me.ListView1.Select & "'"

Thanks, Regards Best Regards

---
JoaoTL
mail@jtl.co.pt
Take a Look in my VBA Section:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top