Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>I'm sure this is a dumb question but...
>>
>>I want to add a combo box to a grid form within code and i'm getting this >>error right at the point where the .addobject occurs
>>
>>Error with Combo1 - Value : Data Type mismatch.
>>
>>
>>
>>Here is the code:
>>
>>FOR i=1 to this.grid1.columncount
>> WITH this.grid1.columns(i)
>> .addobject("combo1","combobox")
>> .currentcontrol="combo1"
>> .header1.caption="Column "+transform(i)
>> ENDWITH
>>ENDFOR i
>>
>>Tia
>>
>>scott vandenelzen
>
>
>.currentcontrol = "combo1"
>Cetin
Thanks, but it didn't solve me problem, the error is occurring in .addobject
scott
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement