if I make an Update query manually in Access , it works , this means that it's correct, but
if I try to execute it in VB.Net 2005 by an (OleDb.OleDbCommand) object , it doesn't work ,
it gives an error msg that is "Undefined function 'Replace' in expression."
-------------------------
this SQL statement's problem is that it contains the function ("Replace")
Dim Sql As String Sql = "Update Names Set Name = Replace( ""vbnet_sky_walker"" , ""_"" , "" "" ) Where ID = 21"
---------------------------
to be more unexclusive , the question is gonna be :
How to execute "SQL Functions" in VB.Net
thanks in advance
vbnetskywalker

New Topic/Question
Reply



MultiQuote




|