使用一个控件(ComboBox)输入数据 [英] Data Entry Using One Control (ComboBox)

查看:128
本文介绍了使用一个控件(ComboBox)输入数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Access 2010为数据输入设置了一个字段查询。我对三个单独的fiels值条目使用相同的技术,它工作正常。我更愿意使用一个Codenum条目来同时控制三个输入的数据更改。几年前我在Paradox中编程时使用了代码来简化数据输入,这项技术运行良好。当然事情已经发生了变化,我将很感激有关财产条目或使用Microsoft VBA的任何帮助。


谢谢


Ron Morris

I have one field query set up for data entry using access 2010. I use this same technique for three separate fiels value entries and it works fine. I would prefer to use one Codenum entry to control data changes for the three inputs all at the same time. I did use code when programming in Paradox some years ago to simplify data entry and this technique worked well. Of course things have changed and I would be grateful of any help on this issue with property entries or the use of Microsoft VBA .

Thank you

Ron Morris

推荐答案

你需要在这里更清楚一点。查询在做什么以及它与数据输入有什么关系?这是你所指的插入查询吗?给我们一些更多的信息,我们可能会更好地回答这个问题。谢谢。


Pat
You need to be a little more clear about your arrangement here. What is the query doing and how is it relating to the data entry? Is this an insert query that you''re referring to? Give us some more information and we''ll probably be better able to answer the question. Thanks.

Pat


Ron Morris:

我有一个字段查询...
Ron Morris:
I have one field query ...



这是技术论坛中的技术问题。你不能错过你的解释的话,希望有意义。如果您希望我们能够帮助您,请考虑一下您想说的内容并发布没有错别字等。

This is a technical question in a technical forum. You cannot afford to miss out words of your explanation and hope to make sense. Please put some thought into what you''re trying to say and post it without typos etc if you want us to be able to assist you.


select查询引用了一个表20行三列:1个Codenum; 2个成员和3个成本。第1行将有1,副总统和140.00英镑。其他行将具有不同的代码编号和具有不同成本的相应成员资格标题。通过使用具有绑定值的组合控件,我可以选择特定行并使用相同的行号参数填充每个字段。类似的Combo将用于设置成员资格,使用绑定值2,然后使用绑定值3的成本。我通过使用三个Combo控件获得结果,并且我尝试使用一个Combo控件执行相同操作。我希望这有帮助吗?
The select query has reference to a table comprising 20 rows of three columns:1 Codenum;2 Membership and 3 Cost. A row 1 Would have 1, Vice President and £140.00. Other rows would have varying code numbers and corresponding membership titles with different cost. By using a Combo Control with a bound value I can select a particular row and fill each field with the same row number parameters. A similar Combo would be used to set up the Membership, using bound value 2 and then the cost with bound value 3. I attain the result by using three Combo controls and I am trying to to do the same but with one Combo control. I hope that this helps?


这篇关于使用一个控件(ComboBox)输入数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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