Browse error on Edition
Publicado: Jue Feb 01, 2007 6:38 pm
Hello,
I have o TDBBrowse with lFastEdit set to .T. and one of the columns
nEditType set to beGET_LISTBOX. That column is type logical, so the lisbox
as only 2 choices, Yes or No...So, that's what i have:
With Object oCol
If :cHeader="MARRIED"
:nEditType := beGET_LISTBOX
:aEditListText := {"Yes","No"}
:aEditListBound := {.T.,.F.}
EndIf
:nEditLength:= :oDataField:nLen
End With
And for OnGetData event i have:
Value := If(Value,"Yes","No")
Attached is a sample with the customer table...the error is on changing of
that column...Is it a bug ?
Thanks
Aguiar !!!
Attached files Brw.zip (2.1 KB)Â
I have o TDBBrowse with lFastEdit set to .T. and one of the columns
nEditType set to beGET_LISTBOX. That column is type logical, so the lisbox
as only 2 choices, Yes or No...So, that's what i have:
With Object oCol
If :cHeader="MARRIED"
:nEditType := beGET_LISTBOX
:aEditListText := {"Yes","No"}
:aEditListBound := {.T.,.F.}
EndIf
:nEditLength:= :oDataField:nLen
End With
And for OnGetData event i have:
Value := If(Value,"Yes","No")
Attached is a sample with the customer table...the error is on changing of
that column...Is it a bug ?
Thanks
Aguiar !!!
Attached files Brw.zip (2.1 KB)Â