troubleshooting Question

Is it possible to us replace in a query using vb 2005

Avatar of whiwex
whiwex asked on
Visual Basic Classic.NET Programming
11 Comments1 Solution171 ViewsLast Modified:
Is this possible and if so why do I get a undefined funtion when I do the fill command
Me.daObligationsAdapter = New OleDb.OleDbDataAdapter("Select * From obligations order by val(replace([obligationnumber],'-',''))", cnADOconnection4)
 cbCommandBuilder4 = New OleDb.OleDbCommandBuilder(Me.daObligationsAdapter)
 Me.daObligationsAdapter.Fill(Me.dtAllObligations)    ERRORS HERE  
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 11 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 11 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros