>I'm using the above but having a problem. There is code in the Init that calls the mQuery method which contains the SQL to populate the array. When this code runs it causes an error as the array is basically empty (other than what is added via Mark's code). The problem is that the SQL is run on a view that isn't populated until after the Combo.Init runs, so there are no records available. I've gone through the Event Tracking and as far as I can tell there's no logical place to put a Requery of the view I'm trying to use. I open the database, tables and views in the form's Load and then the views are populated using parameters in the form's Init and other events that occur afterwards. How can I have the view available for the Combo.Init if the variables that are passed to the view aren't known until after the form's Init? Thanks!
>
>Regards, Renoir
Add a method to the combo, call it whatever you like. Move all the Init code to that method. When you are ready to load the data into the combo, issue a call to that method.
Mark McCasland
Midlothian, TX USA