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.

Bug 2.5.1 En Memdataset

Foro de Xailer profesional en español
Responder
Avatar de Usuario
gerencia
Mensajes: 289
Registrado: Sab Jun 20, 2009 6:01 pm

Bug 2.5.1 En Memdataset

Mensaje por gerencia »

Hola,
En una edición de un TDBBROWSE con un MEMDATASET cuando edito una
columna no guarda el valor que se captura en en campo, al recorrer el
memdataset no muestra el valor que se capturo en la columna editable.me
toca manualmente hacerle un Omendataset:Update.
En la versión 2.5 lo hace correctamente.
asi esta definido el TDBBROWSE
WITH OBJECT ::oBrwParticipa := TDBBrowse():New( ::oGroupParticpa )
:SetBounds( 8, 16, 530, 154 )
WITH OBJECT TDBBrwColumn():New( ::oBrwParticipa )
:cHeader := "Pais"
:nAlignment := taLEFTHEADERCENTER
:nWidth := 122
:oDataField := "Pais"
:Create()
END
WITH OBJECT TDBBrwColumn():New( ::oBrwParticipa )
:cHeader := "Participante"
:nAlignment := taLEFTHEADERCENTER
:nWidth := 271
:oDataField := "Nompar"
:Create()
END
WITH OBJECT TDBBrwColumn():New( ::oBrwParticipa )
:cHeader := "Valor"
:cPicture := "@Z 999,999,999,999.99"
:nAlignment := taRIGHTHEADERCENTER
:nWidth := 117
:nEditType := beGET
:uDefaultValue := 0
:oDataField := "valor"
:OnPostEdit := "BrwParticipaColumn3PostEdit"
:Create()
END
:nHeaderHeight := 36
:lRecordSelector := .F.
:lFilterBar := .T.
:lVScroll := bsYES
:lHScroll := bsNO
:oDataSet := ::oMem_parti
:Create()
END
Saludos,
--
*José**David Angulo Urzola.*
*Auditoria y Sistemas Ltda.*
jose.angulo@auditoriaysistemas.com <mailto:Gerencia@microexpressltda.com>
*Tel. (57) 5-6643022 -- 6644555*
*Cartagena -- Colombia*
--
Jose David Angulo Urzola
Auditoria y Sistemas Ltda.
Cartagena-Colombia
Fabio Gianellini
Mensajes: 31
Registrado: Mar Jul 07, 2009 9:20 am

Bug 2.5.1 En Memdataset

Mensaje por Fabio Gianellini »


dear all, the problem is also on ado-dataset and dbf-dataset used in tdbbrowse
thanks
fabio
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9440
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Bug 2.5.1 En Memdataset

Mensaje por ignacio »

Hola,
Me puede indicar como reproducir el error con algún ejemplo de Xailer. Gracias.
Un saludo
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Fabio Gianellini
Mensajes: 31
Registrado: Mar Jul 07, 2009 9:20 am

Bug 2.5.1 En Memdataset

Mensaje por Fabio Gianellini »

dear all, sorry for the late answer
here attached a little sample of the problem
if you modify one of the coloured column the other two change value. until the 2.5 version I don't need the ::odbfdataset1:save() line contained in each onpostedit method
thank's in advance
fabio

Attached files Test.zip (8.1 KB)Â
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9440
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Bug 2.5.1 En Memdataset

Mensaje por ignacio »

Fabio Gianellini escribió el jue, 05 enero 2012 17:06dear all, sorry for the late answer
here attached a little sample of the problem
if you modify one of the coloured column the other two change value. until the 2.5 version I don't need the ::odbfdataset1:save() line contained in each onpostedit method
thank's in advance
fabio
Fabio,
Sorry but I did comment your oDataset:Save() lines and is working fine here. The columns 'Markup %', 'Markup Val' and 'Tariffa oraria' can be edited without any problem.
If you want I can send you the EXE file.
Regards,
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Fabio Gianellini
Mensajes: 31
Registrado: Mar Jul 07, 2009 9:20 am

Bug 2.5.1 En Memdataset

Mensaje por Fabio Gianellini »

yes thank, I have cleaned and rebuild the project but the problem persist, so now I must think that this is only a mine problem, but I have no idea how to solve it.
have you any suggestion?
fabio
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9440
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Bug 2.5.1 En Memdataset

Mensaje por ignacio »

Fabio Gianellini escribió el lun, 09 enero 2012 14:09yes thank, I have cleaned and rebuild the project but the problem persist, so now I must think that this is only a mine problem, but I have no idea how to solve it.
have you any suggestion?
fabio
Please check that you are not using a overload version of any Xailer class, specially TDbBrowse, TDataset, TMemDataset.
Regards,
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Fabio Gianellini
Mensajes: 31
Registrado: Mar Jul 07, 2009 9:20 am

Bug 2.5.1 En Memdataset

Mensaje por Fabio Gianellini »

ok, now it work, first i have cancelled all the .lib file from the lib directory, then i have temporary reinstalled the 2.5.1 version and copy all the lib file in the correct directory of xailer
grazie 1000
fabio
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9440
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Bug 2.5.1 En Memdataset

Mensaje por ignacio »

Fabio Gianellini escribió el mié, 11 enero 2012 10:03ok, now it work, first i have cancelled all the .lib file from the lib directory, then i have temporary reinstalled the 2.5.1 version and copy all the lib file in the correct directory of xailer
grazie 1000
fabio
Great! Glad to help.
Regards,
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Responder