General information
Category:
Forms & Form designer
>>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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only