获取行号() [英] Get Line Number ()

查看:102
本文介绍了获取行号()的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我的PO数据库出现问题。我正在尝试创建一个自动生成PO行号的字段。我已经创建了一个模块(在microsoft office帮助中给出)。当我尝试在子表单上的文本框中使用此函数时,我收到错误该对象不包含自动化对象获取行号。和#Name?显示。


控制源中的命令是= GetLineNumber([Form],ID,[ID])


ID是表格中订单项唯一的自动编号。


请帮助

Hi all,

I am having a problem with a PO database. I am trying to create a field that auto generates a PO line number. I have create a module (given in microsoft office help). When I try to use this function in a text box on the sub form I get an error " the object doesnot contain the automation object "Get Line Number" and #Name? is displayed.

the command in the control source is =GetLineNumber([Form],"ID",[ID])

ID being an auto number unique to the line item in the table.

Help please

推荐答案

这不正确这个POST的论坛应该是一个相关的数据库论坛。


现在我把它移到Access(因为这似乎很受欢迎)但你不太可能得到满意的回答,直到你告诉我们你正在使用什么类型的数据库。


请阅读发布指南


Banfa

管理员
This is not the correct forum for this POST it should be in a relevent database forum.

For now I am moving it to Access (because that seems to be quite popular) but you are unlikely to get a satisfactory answer until you tell us what sort of database you are using.

Please read the Posting Guidelines.

Banfa
Administrator


谢谢 - 因为你已经注意到我对此很新。我正在使用的数据库是微软Access 2003。
Thanks - as you have prob notice I''m new to this. The database i''m working in is microsoft Access 2003.


你真的需要给我们一个更好的解释,如果我们是你想要做什么帮助你!


例如,什么是采购订单编号/采购订单生产线编号? P ost O ffice? P urchase O rder?你到底想要完成什么?


我们还需要函数的代码 GetLineNumber()


欢迎来到TheScripts!


Linq ; 0)>
You''ll really need to give us a better explanation of what you''re trying to do if we''re to help you!

For instance, what''s a PO number/PO Line number? Post Office? Purchase Order? And exactly what are you trying to accomplish?

We also need the code for the function GetLineNumber().

Welcome to TheScripts!

Linq ;0)>


这篇关于获取行号()的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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