In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

Browse error on Edition

Xailer professional forum in English
Responder
Aguiar
Mensajes: 38
Registrado: Vie Dic 22, 2006 1:33 pm

Browse error on Edition

Mensaje por Aguiar »

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)Â
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9257
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Browse error on Edition

Mensaje por ignacio »

Aquiar,
Is a bug that is already fixed here (tested). Plese include the attached
module.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Aguiar" <aguiar.costa@shi.pt> escribió en el mensaje
news:45c22502$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> 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 GridEdit.rar (7 KB)Â
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
https://www.xailer.com
NoName
Mensajes: 531
Registrado: Vie Feb 03, 2006 7:27 pm

Browse error on Edition

Mensaje por NoName »

Aquiar,
Is a bug that is already fixed here (tested). Plese include the attached
module.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Aguiar" <aguiar.costa@shi.pt> escribió en el mensaje
news:45c22502$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> 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 GridEdit.rar (7 KB)Â
Aguiar
Mensajes: 38
Registrado: Vie Dic 22, 2006 1:33 pm

Browse error on Edition

Mensaje por Aguiar »

Ignacio,
It works fine with beGET_LISTBOX...but not with just beLISTBOX....Am i
missing something for that particular type ?
Thanks.
Aguiar !!!
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
news:45c225fe$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Aquiar,
>
> Is a bug that is already fixed here (tested). Plese include the attached
> module.
>
> Regards,
>
> --
> Ignacio Ortiz de Zúñiga
> http://www.xailer.com
>
>
> "Aguiar" <aguiar.costa@shi.pt> escribió en el mensaje
> news:45c22502$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
>> 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 !!!
>>
>>
>>
>
>
>
Aguiar
Mensajes: 38
Registrado: Vie Dic 22, 2006 1:33 pm

Browse error on Edition

Mensaje por Aguiar »

Ignacio,
It works fine with beGET_LISTBOX...but not with just beLISTBOX....Am i
missing something for that particular type ?
Thanks.
Aguiar !!!
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
news:45c225fe$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Aquiar,
>
> Is a bug that is already fixed here (tested). Plese include the attached
> module.
>
> Regards,
>
> --
> Ignacio Ortiz de Zúñiga
> http://www.xailer.com
>
>
> "Aguiar" <aguiar.costa@shi.pt> escribió en el mensaje
> news:45c22502$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
>> 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 !!!
>>
>>
>>
>
>
>
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9257
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Browse error on Edition

Mensaje por ignacio »

Aguiar,
Your sample works perfectly with field Married. Should I try with another
field? BTW, send the error.log
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Aguiar" <aguiar.costa@shi.pt> escribió en el mensaje
news:45c232eb$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Ignacio,
> It works fine with beGET_LISTBOX...but not with just beLISTBOX....Am i
> missing something for that particular type ?
> Thanks.
>
> Aguiar !!!
>
>
> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
> news:45c225fe$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
>> Aquiar,
>>
>> Is a bug that is already fixed here (tested). Plese include the attached
>> module.
>>
>> Regards,
>>
>> --
>> Ignacio Ortiz de Zúñiga
>> http://www.xailer.com
>>
>>
>> "Aguiar" <aguiar.costa@shi.pt> escribió en el mensaje
>> news:45c22502$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
>>> 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 !!!
>>>
>>>
>>>
>>
>>
>>
>
>
>
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
https://www.xailer.com
NoName
Mensajes: 531
Registrado: Vie Feb 03, 2006 7:27 pm

Browse error on Edition

Mensaje por NoName »

Aguiar,
Your sample works perfectly with field Married. Should I try with another
field? BTW, send the error.log
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Aguiar" <aguiar.costa@shi.pt> escribió en el mensaje
news:45c232eb$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Ignacio,
> It works fine with beGET_LISTBOX...but not with just beLISTBOX....Am i
> missing something for that particular type ?
> Thanks.
>
> Aguiar !!!
>
>
> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
> news:45c225fe$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
>> Aquiar,
>>
>> Is a bug that is already fixed here (tested). Plese include the attached
>> module.
>>
>> Regards,
>>
>> --
>> Ignacio Ortiz de Zúñiga
>> http://www.xailer.com
>>
>>
>> "Aguiar" <aguiar.costa@shi.pt> escribió en el mensaje
>> news:45c22502$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
>>> 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 !!!
>>>
>>>
>>>
>>
>>
>>
>
>
>
Responder