ACC: DDE Statements Invalid in List Box or Combo Box Control (93720)
The information in this article applies to:
- Microsoft Access 1.0
- Microsoft Access 1.1
- Microsoft Access 2.0
- Microsoft Access for Windows 95 7.0
- Microsoft Access 97
This article was previously published under Q93720 SYMPTOMS
Advanced: Requires expert coding, interoperability, and multiuser skills.
If you use a dynamic data exchange (DDE) function as the ControlSource
property of a list box or combo box, the box will be empty when you view
it in Form view (you will receive a "#Error" message in version 1.x).
However, if you view the form in Datasheet view, the first object in the
DDE data will appear.
Using a DDE function in the RowSource property causes an error message in
both Form and Datasheet views of the form.
RESOLUTION
Using code, you can create a list function that returns to a list box or
combo box. You can use any code routine to obtain the information used in
the list, including DDE commands.
STATUS
This behavior is by design.
REFERENCES
For more information about using the ControlSource property of a form or
report object, search the Help Index for "ControlSource," and view the
available topics, or ask the Microsoft Access 97 Office Assistant.
Modification Type: | Major | Last Reviewed: | 5/9/2003 |
---|
Keywords: | kbinterop kbprb KB93720 |
---|
|