Just a follow up to my previous message. I believe I know what is causing the problem I am having. Your sample form was helpful in pin-pointing it. Thank you.
>Do you mean that the empty record doesn't show the first time you bring the screen up? Do you have an order set on your cursor? I created a form with a combobox and attached it to this message. The code for the cursor in the INIT of the combobox.
>See if this is what you need or maybe I am missing the issue.
>
>
>
>
>>I hit the following issue with the Alias. The cursor has an empty record (that I add to the cursor in code in order for a user to be able to undo the selection). But the problem is that this empty record is not showing in the pull-down list. Yet, when I was using an array it was not a problem. Please let me know if you know what I am missing with this.
>>
>>>I am using "Alias" or "Fields" all the time and had no problem. I actually never use array as the record source for the combo box object and the only time I have used it for the list box when I needed to be able to re-arrange items on the list.
>>>I don't think you will have any issues.
>>>
>>>>Hi,
>>>>
>>>>I have a control that is based on a combobox class. For a long time I have been using an array as RowSourceType and setting RowSource to the array property of this control (e.g. RowSource = "this.aLookup"). Obviously I have to populate this array in the INIT method of the control. So, to speed up the process, I decided to change it and set the RowSourceType to 2-Alias and set the RowSource to the columns of the alias (e.g. MYCURSOR.COL1, COL2). My question is, why didn't I do it back years ago? Was there a problem with using the Alias as RowSourcetype? That is, I want to avoid possible problem if I go from array to alias.
>>>>
>>>>TIA.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham