[AccessD] No Current Record when populating additem combo???

Bill Benson bensonforums at gmail.com
Sat Aug 1 10:26:01 CDT 2015


I have a cbo whose rowsourcetype is value list.
The problem is occurring on Form_Load, where I call a routine to populate
the cbo.
There is no controlsource, so this cbo is not tied to any field in the
recordsource.

I have stored some values that can go into the cbo (strings) in a
collection.

At the time I am having this problem there is only one item in the
collection and the cbo is empty..

My code is failing here:

For i = 1 To col.Count
    cboSessionUser.AddItem col(i)
Next

The error message is Runtime Error 3021 "No Current Record".

This doesn't make any sense to me.


More information about the AccessD mailing list