H
H. B.
Hi,
I have a problem using the Replace function in an SQL
statment (in a VB project). I kept the code as simple as
possible:
strCnn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" &
glbVBdbPath & ";Persist Security Info=False"
AdodcLet.ConnectionString = strCnn
AdodcLet.RecordSource = "SELECT Replace(
Letters.Condition,' ','-') as ee From Letters ;"
AdodcLet.Refresh
The error message says that 'Replace' is not defined in
the expression.
But running the select statment in Access 2000 works.
can somebody explain?
Thnaks alot
H
I have a problem using the Replace function in an SQL
statment (in a VB project). I kept the code as simple as
possible:
strCnn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" &
glbVBdbPath & ";Persist Security Info=False"
AdodcLet.ConnectionString = strCnn
AdodcLet.RecordSource = "SELECT Replace(
Letters.Condition,' ','-') as ee From Letters ;"
AdodcLet.Refresh
The error message says that 'Replace' is not defined in
the expression.
But running the select statment in Access 2000 works.
can somebody explain?
Thnaks alot
H