my first post in tek-tips, my apologies for any inadvertant protocol violations.
i'm running access 97. i have a form which contains a combo box with two columns. at a certain point, i'd like to reference, in a query i'm designing with query builder, both of the fields in the combo box. if i just try using the reference:
[Forms]![formname]![comboboxname]
i am able to successfully retrieve the first(0) column in the combo box.
if i then use the reference
[Forms]![formname]![comboboxname].Column(0) or
[Forms]![formname]![comboboxname].Column(1)
then i get the error message:
Undefined function '[Forms]![formname[comboboxname].Column' in expression
what am i doing wrong here?
thanks in advance,
s.
the wild geese do not intend to cast their shadow
the water has no mind to receive their image
i'm running access 97. i have a form which contains a combo box with two columns. at a certain point, i'd like to reference, in a query i'm designing with query builder, both of the fields in the combo box. if i just try using the reference:
[Forms]![formname]![comboboxname]
i am able to successfully retrieve the first(0) column in the combo box.
if i then use the reference
[Forms]![formname]![comboboxname].Column(0) or
[Forms]![formname]![comboboxname].Column(1)
then i get the error message:
Undefined function '[Forms]![formname[comboboxname].Column' in expression
what am i doing wrong here?
thanks in advance,
s.
the wild geese do not intend to cast their shadow
the water has no mind to receive their image