嗨 我有明确的选项,我得到一个Option Strict On disallows 后期绑定。以下代码出错; UpdateCategories(bmCompanyDetails.Current(" ID")) bmCompanyDetails是客户的货币管理器table(定义为 Private WithEvents bmCompanyDetails As System.Windows.Forms.CurrencyManager) 和调用函数定义为; Private Sub UpdateCategories(ByVal Company_ID As Integer) 任何帮助都将不胜感激。 谢谢 问候
Hi I have option explicit on and I am getting an "Option Strict On disallows late binding." error on the following code; UpdateCategories(bmCompanyDetails.Current("ID")) bmCompanyDetails is the currency manager for the client table (defined as Private WithEvents bmCompanyDetails As System.Windows.Forms.CurrencyManager) and the calling function is defined as; Private Sub UpdateCategories(ByVal Company_ID As Integer) Any help would be appreciated. Thanks Regards
推荐答案嗨约翰, 你确定你不想要bmCompanyDetails.position,因为你现在知道的那个 指令确实存在吗? Cor Hi John, Are you sure you do not want the bmCompanyDetails.position because that instruction you now have does as far as I know not exist? Cor
你好约翰, 你确定你不想要bmCompanyDetails.position因为 指令你现在已经知道不存在吗? Cor Hi John, Are you sure you do not want the bmCompanyDetails.position because that instruction you now have does as far as I know not exist? Cor
我需要显式的id值,因为有孩子与该 公司ID相关的记录。 谢谢 问候 Cor < no*@non>在消息中写道 新闻:OI ************** @ TK2MSFTNGP09.phx.gbl ... I need the explicit id value as there are child records associated with that company id. Thanks Regards "Cor" <no*@non> wrote in message news:OI**************@TK2MSFTNGP09.phx.gbl... 嗨John, 你确定你不想要bmCompanyDetails.position因为你现在所拥有的指令确实存在吗? Cor Hi John, Are you sure you do not want the bmCompanyDetails.position because that instruction you now have does as far as I know not exist? Cor
更多推荐
选项显式和代码语法
发布评论