Página 1 de 1

Bug 2.5.1 En Memdataset

Publicado: Mar Ene 03, 2012 8:54 pm
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*
--

Bug 2.5.1 En Memdataset

Publicado: Mié Ene 04, 2012 10:02 am
por Fabio Gianellini

dear all, the problem is also on ado-dataset and dbf-dataset used in tdbbrowse
thanks
fabio

Bug 2.5.1 En Memdataset

Publicado: Mié Ene 04, 2012 11:24 am
por ignacio
Hola,
Me puede indicar como reproducir el error con algún ejemplo de Xailer. Gracias.
Un saludo

Bug 2.5.1 En Memdataset

Publicado: Jue Ene 05, 2012 5:06 pm
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)Â

Bug 2.5.1 En Memdataset

Publicado: Jue Ene 05, 2012 6:03 pm
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,

Bug 2.5.1 En Memdataset

Publicado: Lun Ene 09, 2012 2:09 pm
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

Bug 2.5.1 En Memdataset

Publicado: Lun Ene 09, 2012 5:29 pm
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,

Bug 2.5.1 En Memdataset

Publicado: Mié Ene 11, 2012 10:03 am
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

Bug 2.5.1 En Memdataset

Publicado: Mié Ene 11, 2012 10:32 am
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,