Douglas J Steele - combo RowsourceType function

E

Ed Adamthwaite

Hi Douglas and others,
in a post sent 2005-05-29, 10:07 am, you had a function:

Function ListYears( _
fld As Control, _
id As Variant, _
row As Variant, _
col As Variant, _
code As Variant _
) As Variant

Select Case code
Case acLBInitialize
ListYears = True
Case acLBOpen
ListYears = Timer
Case acLBGetRowCount
ListYears = 21
Case acLBGetColumnCount
ListYears = 1
Case acLBGetColumnWidth
ListYears = -1
Case acLBGetValue
ListYears = 2000 + row
End Select
End Function

I'd like to know if there is any documentation for functions used in the
RowsourceType property of a combo.
I assume that there are API calls going on behind the scenes and would like
to know more.

Regards Ed.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top