帮助访问和C#错误 [英] help with access and C# error
问题描述
hi
hi
我尝试在sql查询和C#中反向访问字符串,如下所示:
i try to reverse string on access in sql query and C# like this:
我收到此错误: 表达式中未定义的函数'StrReverse'。
and i get this error: Undefined function 'StrReverse' in expression.
但如果我在访问时运行此查询它的工作非常好
but if i run this query on access its works excellent
可能是什么问题?
推荐答案
问题是StrReverse是一个问题访问功能,不能从其他编程语言执行。 当我尝试从Excel VBA运行Access函数时尝试相同的问题时出现simlar错误。 一种解决方案是使用您的SQL语句在
access数据库中创建一个查询。 然后从C#代码运行查询。
The problem is StrReverse is a Access function and can't be executed from other programming languages. I get simlar errors when I try the same problem when I try to run Access functions from Excel VBA. One solution is to create a query inside access database with your SQL statement. Then run the query from your C# code.
这篇关于帮助访问和C#错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!