>>You can have this code anywhere:
>>
>>
>>lparameters toCombo
>>LOCAL i
>>addproperty(toCombo, "aWizFList[1]")
>>=AFIELDS(toCombo.aWizFList)
>>FOR m.i = FCOUNT() TO 1 STEP -1
>> IF INLIST(toCombo.aWizFList[m.i,2],"G","M","U")
>> =ADEL(toCombo.aWizFList,m.i)
>> DIMENSION toCombo.aWizFList[MAX(1,ALEN(toCombo.aWizFList,1)-1), ALEN(toCombo.aWizFList, 2)]
>> ENDIF
>>ENDFOR
>>toCombo.RowSourceType = 5
>>toCombo.RowSource = "this.aWizFList"
>>toCombo.VALUE = toCombo.LIST[1]
>>
>>Now let's suppose your 2nd form is the createobject()ed form - oFrm2, and the combo in case is on it, oFrm2.oCbo5 (you'll have to supply actual variables, object names). You can simply
>>
>>FixMyCombo(oFrm2.oCbo5)
>>
>>somewhere between createobject()ing the form and ofrm2.show().
>
>Okay, that makes sense. I will have to think about this over the weekend. Thank you for your help.
>I may be back with more questions next week.
Welcome - and it won't be a Friday so you'll have more of us chiming in.
>Have a great weekend.
You too.