如何从vb.net代码调用访问模块? [英] How to call an access module from vb.net code?

查看:441
本文介绍了如何从vb.net代码调用访问模块?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个访问数据库,我创建了一个模块来访问。

我有一个vb.net程序链接到银行..

所以,我想从我的代码中的查询中调用模块..但它不起作用!

当我在访问查询中使用这个模块时工作正常...但是当我在我的代码中使用它时它给了我这个错误:表达式中未定义的函数''moduleName''。



如何在代码中调用该模块?



提前感谢

解决方案

[ ^ ]

http://stackoverflow.com/questions/11529820/how-to-call-method-inside-the-vb-net -module [ ^ ]

http://www.tutorialspoint.com/vb.net/vb。 net_functions.htm [ ^ ]

I have an access database and I create a module to do something in access.
I have a vb.net program which is linked to the bank..
so, I want to call the module from a query in my code..but it doesn''t work!
when I use this module in access query it works fine ... but when I use it in my code it gives me this error : Undefined function ''moduleName'' in Expression..

How can I call that module in code?

thanks in advance

解决方案

[^]
http://stackoverflow.com/questions/11529820/how-to-call-method-inside-the-vb-net-module[^]
http://www.tutorialspoint.com/vb.net/vb.net_functions.htm[^]


这篇关于如何从vb.net代码调用访问模块?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆