创建组合框和列表框的枚举 [英] Creating Enumerations for Combo Boxes and List Boxes
本文介绍了创建组合框和列表框的枚举的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,
这可能是一个有趣的问题:
This may be an interesting question to ask:
我可能已经注意到默认情况下,Access枚举数据类型如下例所示:
I may have noticed that by default, Access enumerates data types such as the following examples:
文本的dbText,Big Integer的dbBigInt和Long的dbLong
dbText for Text, dbBigInt for Big Integer and dbLong for Long
这里我将此作为模块中代码的示例:
Here I have this as an example of code within a module:
选项比较数据库
Dim dbCombo作为ComboBox
Dim dbList作为ListBox
Dim dbCombo作为ComboBox
Dim dbList作为ListBox
Option Compare Database
Dim dbCombo As ComboBox
Dim dbList As ListBox
Dim dbCombo As ComboBox
Dim dbList As ListBox
推荐答案
已经存在这样的枚举。打开代码窗口。点击F2。对象浏览器打开。搜索AcControlType。
There already is such enumeration. Open a code window. Hit F2. The object browser opens. Search for AcControlType.
这篇关于创建组合框和列表框的枚举的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文