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)Â
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.
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
- ignacio
- Site Admin
- Mensajes: 9302
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
Browse error on Edition
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)Â
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)Â
Browse error on Edition
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)Â
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)Â
Browse error on Edition
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 !!!
>>
>>
>>
>
>
>
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 !!!
>>
>>
>>
>
>
>
Browse error on Edition
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 !!!
>>
>>
>>
>
>
>
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
- Site Admin
- Mensajes: 9302
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
Browse error on Edition
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 !!!
>>>
>>>
>>>
>>
>>
>>
>
>
>
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 !!!
>>>
>>>
>>>
>>
>>
>>
>
>
>
Browse error on Edition
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 !!!
>>>
>>>
>>>
>>
>>
>>
>
>
>
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 !!!
>>>
>>>
>>>
>>
>>
>>
>
>
>