B
Bill Stanton
I have a combo whose RowSource is a query
defining 5 fields, only one of which displays
in the combo box, i.e., FieldWidth = 0;0;0;2";0.
The combo provides a selection of classical
music composers. I have a case where I'd like
to pre-position to a particular composer.
For example,
strTemp = "Mozart"
me.cmboComposers.SetFocus
DoCmd.FindRecord strTemp, acStart
Attempting to use the above code, I get a 2162
runtime error: "A macro set to one of the current
fields properties failed because of an error in a
FindRecord action argument"
Is the problem that I can't use the FindRecord
method on the underlying query of a combo, as
I often do with the underlying query of a form's
RecordSource?
Thanks,
Bill
defining 5 fields, only one of which displays
in the combo box, i.e., FieldWidth = 0;0;0;2";0.
The combo provides a selection of classical
music composers. I have a case where I'd like
to pre-position to a particular composer.
For example,
strTemp = "Mozart"
me.cmboComposers.SetFocus
DoCmd.FindRecord strTemp, acStart
Attempting to use the above code, I get a 2162
runtime error: "A macro set to one of the current
fields properties failed because of an error in a
FindRecord action argument"
Is the problem that I can't use the FindRecord
method on the underlying query of a combo, as
I often do with the underlying query of a form's
RecordSource?
Thanks,
Bill